mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
src/keybindings.c: Make virtual desktops apply instantly and still show the pager popup
This commit is contained in:
parent
fcb791d5a0
commit
0134973907
@ -1,3 +1,9 @@
|
|||||||
|
2002-09-09 Christian Neumair <chris@gnome-de.org>
|
||||||
|
|
||||||
|
* src/keybindings.c: Make virtual desktops apply
|
||||||
|
instantly and still show the pager popup by
|
||||||
|
Benjamin Kahn <xkahn@zoned.net>, fixes #86590.
|
||||||
|
|
||||||
2002-09-06 Frederic Crozat <fred@crozat.net>
|
2002-09-06 Frederic Crozat <fred@crozat.net>
|
||||||
|
|
||||||
* src/themes/Crux/metacity-theme-1.xml: Fix titlebar
|
* src/themes/Crux/metacity-theme-1.xml: Fix titlebar
|
||||||
|
@ -2252,7 +2252,13 @@ process_workspace_switch_grab (MetaDisplay *display,
|
|||||||
(MetaTabEntryKey) target_workspace);
|
(MetaTabEntryKey) target_workspace);
|
||||||
meta_topic (META_DEBUG_KEYBINDINGS,
|
meta_topic (META_DEBUG_KEYBINDINGS,
|
||||||
"Tab key pressed, moving tab focus in popup\n");
|
"Tab key pressed, moving tab focus in popup\n");
|
||||||
return TRUE;
|
|
||||||
|
meta_topic (META_DEBUG_KEYBINDINGS,
|
||||||
|
"Activating target workspace\n");
|
||||||
|
|
||||||
|
switch_to_workspace (display, target_workspace);
|
||||||
|
|
||||||
|
return TRUE; /* we already ended the grab */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2711,6 +2717,12 @@ handle_workspace_switch (MetaDisplay *display,
|
|||||||
next = meta_workspace_get_neighbor (screen->active_workspace, motion);
|
next = meta_workspace_get_neighbor (screen->active_workspace, motion);
|
||||||
g_assert (next);
|
g_assert (next);
|
||||||
|
|
||||||
|
|
||||||
|
meta_topic (META_DEBUG_KEYBINDINGS,
|
||||||
|
"Activating target workspace\n");
|
||||||
|
|
||||||
|
switch_to_workspace (display, next);
|
||||||
|
|
||||||
meta_ui_tab_popup_select (screen->tab_popup, (MetaTabEntryKey) next);
|
meta_ui_tab_popup_select (screen->tab_popup, (MetaTabEntryKey) next);
|
||||||
|
|
||||||
/* only after selecting proper space */
|
/* only after selecting proper space */
|
||||||
|
Loading…
Reference in New Issue
Block a user