diff options
| author | 2026-02-23 15:15:26 -0500 | |
|---|---|---|
| committer | 2026-02-23 15:15:26 -0500 | |
| commit | f6b7343a645369d73a8097094222769f3a7c7b26 (patch) | |
| tree | 8f0b6fdb6cb48ecd7e15d8482f46c64f39ea1a03 | |
| parent | properly handle fullscreen windows in bsp tree (diff) | |
add support for lockscreen keybinds
| -rw-r--r-- | src/tilite.c | 5 |
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++; |
