aboutsummaryrefslogtreecommitdiffstats
path: root/src/tilite.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/tilite.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tilite.c b/src/tilite.c
index 176e6ff..8701654 100644
--- a/src/tilite.c
+++ b/src/tilite.c
@@ -1603,6 +1603,11 @@ int snap_coordinate(int pos, int size, int screen_size, int snap_dist) {
}
void spawn(const char *const *argv) {
+ // release keyboard to support lock screen keybind
+ XUngrabKeyboard(dpy, CurrentTime);
+ XUngrabPointer(dpy, CurrentTime);
+ XFlush(dpy);
+
int argc = 0;
while (argv[argc])
argc++;