summaryrefslogtreecommitdiff
path: root/src/run-metacity.sh
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2002-10-07 23:14:40 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-10-07 23:14:40 +0000
commitf08337d93928726904c45eabbd337498970b6c99 (patch)
treec83b2ec7c31dcc91d0571f17d4261440859a8e6e /src/run-metacity.sh
parent372dc090fd519944610aecbfb307affc9a709053 (diff)
downloadmetacity-f08337d93928726904c45eabbd337498970b6c99.tar.gz
metacity-f08337d93928726904c45eabbd337498970b6c99.tar.bz2
Add a modifier key preference for the Alt+click stuff. Can be set to
2002-10-07 Havoc Pennington <hp@redhat.com> Add a modifier key preference for the Alt+click stuff. Can be set to "disabled" as well. * src/run-metacity.sh: 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/metacity.schemas.in: 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/run-metacity.sh')
-rwxr-xr-xsrc/run-metacity.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/run-metacity.sh b/src/run-metacity.sh
index df851c4..4d885df 100755
--- a/src/run-metacity.sh
+++ b/src/run-metacity.sh
@@ -72,6 +72,10 @@ if test -z "$ONLY_WM"; then
DISPLAY=$CLIENT_DISPLAY gnome-terminal --geometry 25x15 &
done
fi
+
+ if test -e ~/.Xmodmap; then
+ DISPLAY=$CLIENT_DISPLAY xmodmap ~/.Xmodmap
+ fi
usleep 50000