--no-tab-popup && no-tab-popup gconf key

Disables the use of popup (and highlight frame) for window cycling.
This commit is contained in:
Tomas Frydrych
2009-02-02 14:09:04 +00:00
parent d1fd844bc4
commit 2e1893f7d3
6 changed files with 96 additions and 13 deletions

View File

@@ -2918,16 +2918,25 @@ do_choose_window (MetaDisplay *display,
}
else
{
meta_ui_tab_popup_select (screen->tab_popup,
(MetaTabEntryKey) initial_selection->xwindow);
if (show_popup)
meta_ui_tab_popup_set_showing (screen->tab_popup,
TRUE);
if (!meta_prefs_get_no_tab_popup ())
{
meta_ui_tab_popup_select (screen->tab_popup,
(MetaTabEntryKey) initial_selection->xwindow);
if (show_popup)
meta_ui_tab_popup_set_showing (screen->tab_popup, TRUE);
else
{
meta_window_raise (initial_selection);
initial_selection->tab_unminimized =
initial_selection->minimized;
meta_window_unminimize (initial_selection);
}
}
else
{
meta_window_raise (initial_selection);
initial_selection->tab_unminimized =
initial_selection->tab_unminimized =
initial_selection->minimized;
meta_window_unminimize (initial_selection);
}