diff options
author | QC <qball@gmpclient.org> | 2015-05-03 13:04:03 +0200 |
---|---|---|
committer | QC <qball@gmpclient.org> | 2015-05-03 13:04:03 +0200 |
commit | 8d4e1ee8fa1b6cc2bdd97e8dc5bc47e0a4896b71 (patch) | |
tree | ec2b786b4ea1510159de9b557f3ebf9c6ff701f9 /source/x11-helper.c | |
parent | a974db887a88dfd56546bf9af6c7a7e762ba6746 (diff) |
Rasi patch, allowing special keys, modifying return value.
In dmenu pressing alt-[1-9 will return the selected entry and set the return value to the
pressed number.
Diffstat (limited to 'source/x11-helper.c')
-rw-r--r-- | source/x11-helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/x11-helper.c b/source/x11-helper.c index 0341dbbb..572ea619 100644 --- a/source/x11-helper.c +++ b/source/x11-helper.c @@ -243,7 +243,7 @@ int window_send_message ( Display *display, Window target, int take_keyboard ( Display *display, Window w ) { - for ( int i = 0; i < 500; i++) { + for ( int i = 0; i < 500; i++ ) { if ( XGrabKeyboard ( display, w, True, GrabModeAsync, GrabModeAsync, CurrentTime ) == GrabSuccess ) { return 1; } |