aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 88be01b..422b536 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -725,6 +725,8 @@ static void grabkeys(Display *display) {
XGrabKey(display, XKeysymToKeycode(display, keys[j]), Mod1Mask|modifiers[i], root_window, False, GrabModeAsync, GrabModeAsync);
}
}
+
+ XSync(display, False);
}