mirror of
https://github.com/dylanaraps/sowm.git
synced 2025-08-01 12:41:57 -07:00
sowm: attempt to fix key issue
This commit is contained in:
1
sowm.c
1
sowm.c
@@ -280,6 +280,7 @@ int main(void) {
|
||||
|
||||
XSelectInput(d, root, SubstructureRedirectMask);
|
||||
XDefineCursor(d, root, XCreateFontCursor(d, 68));
|
||||
XUngrabKey(d, AnyKey, AnyModifier, root);
|
||||
|
||||
for (unsigned int i=0; i < sizeof(keys)/sizeof(*keys); ++i)
|
||||
XGrabKey(d, XKeysymToKeycode(d, keys[i].keysym), keys[i].mod,
|
||||
|
Reference in New Issue
Block a user