summaryrefslogtreecommitdiff
path: root/src/keybindings.c
diff options
context:
space:
mode:
authorPadraig O'Briain <padraig.obriain@sun.com>2003-07-01 14:59:09 +0000
committerPadraig O'Briain <padraigo@src.gnome.org>2003-07-01 14:59:09 +0000
commit42182cbe77c3bc2cf5213c4a1ef054f498c3e5ed (patch)
treeb049a72fcdae1ab3af4d0f4687d5e610c978b3e5 /src/keybindings.c
parentd08fa2961293c2bbe621c80882cd293ba17057de (diff)
downloadmetacity-42182cbe77c3bc2cf5213c4a1ef054f498c3e5ed.tar.gz
Activate window before ending grab. This fixes bug #114037.
2003-07-01 Padraig O'Briain <padraig.obriain@sun.com> * src/keybindings.c (process_tab_grab): Activate window before ending grab. This fixes bug #114037.
Diffstat (limited to 'src/keybindings.c')
-rw-r--r--src/keybindings.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/keybindings.c b/src/keybindings.c
index 50fc8d2c..0b2eb667 100644
--- a/src/keybindings.c
+++ b/src/keybindings.c
@@ -2202,16 +2202,16 @@ process_tab_grab (MetaDisplay *display,
if (target_window)
{
meta_topic (META_DEBUG_KEYBINDINGS,
- "Ending grab early so we can focus the target window\n");
- meta_display_end_grab_op (display, event->xkey.time);
-
- meta_topic (META_DEBUG_KEYBINDINGS,
"Activating target window\n");
meta_topic (META_DEBUG_FOCUS, "Activating %s due to tab popup selection\n",
target_window->desc);
meta_window_activate (target_window, event->xkey.time);
+ meta_topic (META_DEBUG_KEYBINDINGS,
+ "Ending grab early so we can focus the target window\n");
+ meta_display_end_grab_op (display, event->xkey.time);
+
return TRUE; /* we already ended the grab */
}