put LockMask into the ignored_modifier_mask so that caps lock doesn't mess

2002-05-10  Havoc Pennington  <hp@pobox.com>

	* src/keybindings.c (reload_modmap): put LockMask into the
	ignored_modifier_mask so that caps lock doesn't mess up
	keybindings.
This commit is contained in:
Havoc Pennington 2002-05-11 02:38:58 +00:00 committed by Havoc Pennington
parent 052a794427
commit 487c6cfaaa
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2002-05-10 Havoc Pennington <hp@pobox.com>
* src/keybindings.c (reload_modmap): put LockMask into the
ignored_modifier_mask so that caps lock doesn't mess up
keybindings.
2002-05-10 Havoc Pennington <hp@pobox.com> 2002-05-10 Havoc Pennington <hp@pobox.com>
* src/window.c (meta_window_focus): if window is not mapped after * src/window.c (meta_window_focus): if window is not mapped after

View File

@ -290,7 +290,8 @@ reload_modmap (MetaDisplay *display)
} }
display->ignored_modifier_mask = (display->num_lock_mask | display->ignored_modifier_mask = (display->num_lock_mask |
display->scroll_lock_mask); display->scroll_lock_mask |
LockMask);
meta_topic (META_DEBUG_KEYBINDINGS, meta_topic (META_DEBUG_KEYBINDINGS,
"Ignoring modmask 0x%x num lock 0x%x scroll lock 0x%x\n", "Ignoring modmask 0x%x num lock 0x%x scroll lock 0x%x\n",