mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
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.
This commit is contained in:
parent
d08fa29612
commit
42182cbe77
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
||||
2003-06-20 Rob Adams <robadams@ucla.edu>
|
||||
|
||||
* src/window.c (meta_window_unmaximize): Update grab state when we
|
||||
|
@ -2201,10 +2201,6 @@ 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");
|
||||
|
||||
@ -2212,6 +2208,10 @@ process_tab_grab (MetaDisplay *display,
|
||||
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 */
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user