summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@gnugeneration.com>2016-01-03 00:15:29 -0800
committerVito Caputo <vcaputo@gnugeneration.com>2016-01-03 00:15:29 -0800
commita75ab8242bc4060245034f12e31904d6b95c8ae7 (patch)
tree446e432f0891a99004081bf49d1adca2557bd8fa
parent5f393c5d2d0f529020996f793fff6a403bdb438e (diff)
Trivial cleanup: s/Mod1Mask/WM_GRAB_MODIFIER/g
-rw-r--r--vwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vwm.c b/vwm.c
index f722c12..88350b0 100644
--- a/vwm.c
+++ b/vwm.c
@@ -1902,8 +1902,8 @@ static vwm_window_t * vwm_win_manage_xwin(vwm_xwindow_t *xwin)
}
XUngrabButton(display, AnyButton, AnyModifier, xwin->id);
- XGrabButton(display, AnyButton, Mod1Mask, xwin->id, False, (PointerMotionMask | ButtonPressMask | ButtonReleaseMask), GrabModeAsync, GrabModeAsync, None, None);
- XGrabKey(display, AnyKey, Mod1Mask, xwin->id, False, GrabModeAsync, GrabModeAsync);
+ XGrabButton(display, AnyButton, WM_GRAB_MODIFIER, xwin->id, False, (PointerMotionMask | ButtonPressMask | ButtonReleaseMask), GrabModeAsync, GrabModeAsync, None, None);
+ XGrabKey(display, AnyKey, WM_GRAB_MODIFIER, xwin->id, False, GrabModeAsync, GrabModeAsync);
XSetWindowBorder(display, xwin->id, unfocused_window_border_color.pixel);
vwin->hints = XAllocSizeHints();
© All Rights Reserved