keybindings: Rename initial_selection to window
Since we removed the tabpopup, this name doesn't make much sense anymore.
This commit is contained in:
parent
2ae0a72dad
commit
fc8a2b8a42
@ -2757,7 +2757,7 @@ do_choose_window (MetaDisplay *display,
|
|||||||
gboolean backward)
|
gboolean backward)
|
||||||
{
|
{
|
||||||
MetaTabList type = binding->handler->data;
|
MetaTabList type = binding->handler->data;
|
||||||
MetaWindow *initial_selection;
|
MetaWindow *window;
|
||||||
|
|
||||||
meta_topic (META_DEBUG_KEYBINDINGS,
|
meta_topic (META_DEBUG_KEYBINDINGS,
|
||||||
"Tab list = %u\n", type);
|
"Tab list = %u\n", type);
|
||||||
@ -2766,13 +2766,13 @@ do_choose_window (MetaDisplay *display,
|
|||||||
if (event->modifier_state & CLUTTER_SHIFT_MASK)
|
if (event->modifier_state & CLUTTER_SHIFT_MASK)
|
||||||
backward = !backward;
|
backward = !backward;
|
||||||
|
|
||||||
initial_selection = meta_display_get_tab_next (display,
|
window = meta_display_get_tab_next (display,
|
||||||
type,
|
type,
|
||||||
screen->active_workspace,
|
screen->active_workspace,
|
||||||
NULL,
|
NULL,
|
||||||
backward);
|
backward);
|
||||||
|
|
||||||
meta_window_activate (initial_selection, event->time);
|
meta_window_activate (window, event->time);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user