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