path: root/src/
diff options
authorHavoc Pennington <>2002-10-07 23:14:40 +0000
committerHavoc Pennington <>2002-10-07 23:14:40 +0000
commitf08337d93928726904c45eabbd337498970b6c99 (patch)
treec83b2ec7c31dcc91d0571f17d4261440859a8e6e /src/
parent372dc090fd519944610aecbfb307affc9a709053 (diff)
Add a modifier key preference for the Alt+click stuff. Can be set to
2002-10-07 Havoc Pennington <> Add a modifier key preference for the Alt+click stuff. Can be set to "disabled" as well. * src/ load .Xmodmap in the Xnest if it exists * src/display.c (meta_display_ungrab_window_buttons): ungrab AnyModifier in case the modifier changed since we grabbed (meta_display_open): rearrange code to use meta_display_close() to mop up when we can't find any screens, avoiding the need to keep the bail-out code in sync with meta_display_close. * src/keybindings.c (devirtualize_modifiers): move this function to a public place in display.c * src/ add setting for the modifier key to use for Alt+left/middle/right click. * src/prefs.c (update_binding): add a missing newline to a warning (meta_prefs_get_mouse_button_mods): new function * src/ui.c (meta_ui_parse_modifier): new function
Diffstat (limited to 'src/')
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ b/src/
index df851c4..4d885df 100755
--- a/src/
+++ b/src/
@@ -72,6 +72,10 @@ if test -z "$ONLY_WM"; then
DISPLAY=$CLIENT_DISPLAY gnome-terminal --geometry 25x15 &
+ if test -e ~/.Xmodmap; then
+ DISPLAY=$CLIENT_DISPLAY xmodmap ~/.Xmodmap
+ fi
usleep 50000