aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk')
-rw-r--r--src/FbTk/KeyUtil.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/KeyUtil.cc b/src/FbTk/KeyUtil.cc
index 6661bb7..10bc118 100644
--- a/src/FbTk/KeyUtil.cc
+++ b/src/FbTk/KeyUtil.cc
@@ -144,7 +144,7 @@ void KeyUtil::grabButton(unsigned int button, unsigned int mod, Window win,
144 for (int i = 0; i < 8; i++) { 144 for (int i = 0; i < 8; i++) {
145 XGrabButton(display, button, mod | (i & 1 ? LockMask : 0) | 145 XGrabButton(display, button, mod | (i & 1 ? LockMask : 0) |
146 (i & 2 ? nummod : 0) | (i & 4 ? scrollmod : 0), 146 (i & 2 ? nummod : 0) | (i & 4 ? scrollmod : 0),
147 win, False, event_mask, GrabModeAsync, GrabModeAsync, 147 win, False, event_mask, GrabModeSync, GrabModeAsync,
148 None, cursor); 148 None, cursor);
149 } 149 }
150 150