when tabbing backward, we are still tabbing *from* the most recently used

2003-02-22  Havoc Pennington  <hp@pobox.com>

	* src/display.c (meta_display_get_tab_next): when tabbing
	backward, we are still tabbing *from* the most recently used
	window, not from the least recently used window.

	* src/keybindings.c (struct _MetaKeyBinding): make keycode
	unsigned to match XEvent

	Patch for #84999 based on patch from Mark McLoughlin

	* src/prefs.c: add an add_shift field to MetaKeyPref to
	add shift when grabbing the given keybinding.

	* src/keybindings.c (rebuild_screen_binding_table)
	(rebuild_window_binding_table): refactor to share code,
	and honor add_shift field in MetaKeyPref
This commit is contained in:
Havoc Pennington
2003-02-22 20:31:51 +00:00
committed by Havoc Pennington
parent 8764b89942
commit fb9ad1eb13
6 changed files with 224 additions and 149 deletions

View File

@ -3541,7 +3541,7 @@ meta_display_get_tab_next (MetaDisplay *display,
if (backward)
return find_tab_backward (display, type, screen, workspace,
g_list_last (display->mru_list));
display->mru_list);
else
return find_tab_forward (display, type, screen, workspace,
display->mru_list);