mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
change alt+tab to a windowless grab, fixes #83499
2002-08-03 Craig Black <blackc@speakeasy.net> * src/keybindings.c: (meta_display_process_key_event), (process_tab_grab), (do_choose_window): change alt+tab to a windowless grab, fixes #83499
This commit is contained in:
parent
dc5a81ac77
commit
ae148bc89f
@ -1,3 +1,9 @@
|
|||||||
|
2002-08-03 Craig Black <blackc@speakeasy.net>
|
||||||
|
|
||||||
|
* src/keybindings.c: (meta_display_process_key_event),
|
||||||
|
(process_tab_grab), (do_choose_window): change alt+tab
|
||||||
|
to a windowless grab, fixes #83499
|
||||||
|
|
||||||
2002-08-03 Craig Black <blackc@speakeasy.net>
|
2002-08-03 Craig Black <blackc@speakeasy.net>
|
||||||
|
|
||||||
* src/display.c: (event_callback): Have ButtonPress and UnmapNotify
|
* src/display.c: (event_callback): Have ButtonPress and UnmapNotify
|
||||||
|
@ -124,7 +124,6 @@ static gboolean process_keyboard_resize_grab (MetaDisplay *display,
|
|||||||
KeySym keysym);
|
KeySym keysym);
|
||||||
|
|
||||||
static gboolean process_tab_grab (MetaDisplay *display,
|
static gboolean process_tab_grab (MetaDisplay *display,
|
||||||
MetaWindow *window,
|
|
||||||
XEvent *event,
|
XEvent *event,
|
||||||
KeySym keysym);
|
KeySym keysym);
|
||||||
|
|
||||||
@ -1349,8 +1348,7 @@ meta_display_process_key_event (MetaDisplay *display,
|
|||||||
case META_GRAB_OP_KEYBOARD_ESCAPING_DOCK:
|
case META_GRAB_OP_KEYBOARD_ESCAPING_DOCK:
|
||||||
meta_topic (META_DEBUG_KEYBINDINGS,
|
meta_topic (META_DEBUG_KEYBINDINGS,
|
||||||
"Processing event for keyboard tabbing/cycling\n");
|
"Processing event for keyboard tabbing/cycling\n");
|
||||||
g_assert (window != NULL);
|
handled = process_tab_grab (display, event, keysym);
|
||||||
handled = process_tab_grab (display, window, event, keysym);
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case META_GRAB_OP_KEYBOARD_WORKSPACE_SWITCHING:
|
case META_GRAB_OP_KEYBOARD_WORKSPACE_SWITCHING:
|
||||||
@ -1855,7 +1853,6 @@ process_keyboard_resize_grab (MetaDisplay *display,
|
|||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
process_tab_grab (MetaDisplay *display,
|
process_tab_grab (MetaDisplay *display,
|
||||||
MetaWindow *window,
|
|
||||||
XEvent *event,
|
XEvent *event,
|
||||||
KeySym keysym)
|
KeySym keysym)
|
||||||
{
|
{
|
||||||
@ -1863,9 +1860,7 @@ process_tab_grab (MetaDisplay *display,
|
|||||||
MetaKeyBindingAction action;
|
MetaKeyBindingAction action;
|
||||||
gboolean popup_not_showing;
|
gboolean popup_not_showing;
|
||||||
|
|
||||||
window = NULL; /* be sure we don't use this, it's irrelevant */
|
screen = display->grab_screen;
|
||||||
|
|
||||||
screen = display->grab_window->screen;
|
|
||||||
|
|
||||||
g_return_val_if_fail (screen->tab_popup != NULL, FALSE);
|
g_return_val_if_fail (screen->tab_popup != NULL, FALSE);
|
||||||
|
|
||||||
@ -2357,8 +2352,7 @@ do_choose_window (MetaDisplay *display,
|
|||||||
|
|
||||||
if (meta_display_begin_grab_op (window->display,
|
if (meta_display_begin_grab_op (window->display,
|
||||||
window->screen,
|
window->screen,
|
||||||
display->focus_window ?
|
NULL,
|
||||||
display->focus_window : window,
|
|
||||||
show_popup ?
|
show_popup ?
|
||||||
tab_op_from_tab_type (type) :
|
tab_op_from_tab_type (type) :
|
||||||
cycle_op_from_tab_type (type),
|
cycle_op_from_tab_type (type),
|
||||||
|
Loading…
Reference in New Issue
Block a user