mirror of
https://github.com/dylanaraps/sowm.git
synced 2026-11-20 19:52:14 +00:00
docs: update
This commit is contained in:
1 parent
bdc6cf84c8
commit
e31b96f088
3 files changed
+4
-16
No files matched your search
@@ -4,7 +4,6 @@
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/XF86keysym.h>
|
||||
#include <X11/XKBlib.h>
|
||||
#include <X11/keysym.h>
|
||||
#include <stdlib.h>
|
||||
#include <signal.h>
|
||||
@@ -250,7 +249,7 @@ void key_grab() {
|
||||
|
||||
void key_press(XEvent *e) {
|
||||
XKeyEvent ke = e->xkey;
|
||||
KeySym keysym = XkbKeycodeToKeysym(dis,ke.keycode,0,0);
|
||||
KeySym keysym = XKeycodeToKeysym(dis,ke.keycode,0);
|
||||
|
||||
for(int i=0; i < sizeof(keys)/sizeof(*keys); ++i) {
|
||||
if (keys[i].keysym == keysym && keys[i].mod == ke.state)
|
||||
|
||||
Reference in new issue
Block a user