summaryrefslogtreecommitdiff
path: root/src/keybindings.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-05-01 03:23:46 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-05-01 03:23:46 +0000
commit03481ae2d08f5ad0d69f13bd43863db6f91de599 (patch)
treec407ccd77a9e57b0e600f383f4c248186573488c /src/keybindings.c
parent17b4eab4d44b34134f8b9f89fff4c4411205fdc9 (diff)
downloadmetacity-03481ae2d08f5ad0d69f13bd43863db6f91de599.tar.gz
metacity-03481ae2d08f5ad0d69f13bd43863db6f91de599.tar.bz2
don't try to decorate toolbars.
2002-04-30 Havoc Pennington <hp@pobox.com> * src/window.c (recalc_window_features): don't try to decorate toolbars. * src/tools/metacity-window-demo.c: add menu and toolbar tests * src/place.c (meta_window_place): only dialogs should be centered over parent, not anything with transient for set. * src/window.c (meta_window_configure_request): become more fascist about window positioning if workarounds are disabled, and less fascist if they are enabled. * src/metacity.schemas: add a "disable_workarounds" option. Kind of crack-smoking. But we just can't get all applications fixed. And I need no-workarounds mode to monitor which apps are broken and what needs fixing in specs. * src/window.c (meta_window_configure_request): always allow windows to resize themselves * src/keybindings.c (reload_modmap): don't filter out Mode_switch, apparently some people bind window manager shortcuts to that.
Diffstat (limited to 'src/keybindings.c')
-rw-r--r--src/keybindings.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/keybindings.c b/src/keybindings.c
index 7181e97..5dd2de4 100644
--- a/src/keybindings.c
+++ b/src/keybindings.c
@@ -269,19 +269,13 @@ reload_modmap (MetaDisplay *display)
while (j < display->keysyms_per_keycode)
{
- if (syms[j] == XK_Mode_switch)
+ if (syms[j] == XK_Num_Lock)
{
- /* This modifier swaps groups */
-
/* Mod1Mask is 1 << 3 for example, i.e. the
* fourth modifier, i / keyspermod is the modifier
* index
*/
- display->mode_switch_mask |= (1 << ( i / modmap->max_keypermod));
- }
- else if (syms[j] == XK_Num_Lock)
- {
display->num_lock_mask |= (1 << ( i / modmap->max_keypermod));
}
else if (syms[j] == XK_Scroll_Lock)