diff options
author | ZenWalker <[email protected]> | 2016-11-07 09:29:37 +0100 |
---|---|---|
committer | ZenWalker <[email protected]> | 2016-11-07 09:29:37 +0100 |
commit | df326ad5d26ad3ec74f15c692dc90be1f42fbb67 (patch) | |
tree | 08830ddfbecf7c0b4d75077f6e3ef7f97c839bfe /src/terminal-window.c | |
parent | 2e6db62d1f01fb92dd57fdf229147ff26ffc561e (diff) | |
download | mate-terminal-df326ad5d26ad3ec74f15c692dc90be1f42fbb67.tar.bz2 mate-terminal-df326ad5d26ad3ec74f15c692dc90be1f42fbb67.tar.xz |
Make dropped tab active
based on gnome-terminal commit:
https://git.gnome.org/browse/gnome-terminal/commit/?id=abb2018a702adfc57831aea9ebb5c513b9c8bbbd
Fixes #152
Diffstat (limited to 'src/terminal-window.c')
-rw-r--r-- | src/terminal-window.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/terminal-window.c b/src/terminal-window.c index fd374ec..2846d0d 100644 --- a/src/terminal-window.c +++ b/src/terminal-window.c @@ -2673,6 +2673,7 @@ terminal_window_move_screen (TerminalWindow *source_window, g_object_unref (screen_container); terminal_window_add_screen (dest_window, screen, dest_position); + gtk_notebook_set_current_page (GTK_NOTEBOOK (dest_window->priv->notebook), dest_position); g_object_unref (screen); } |