mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-09 03:02:30 +02:00
fixed modifier bug in textfield again
This commit is contained in:
1 parent
4d8e691608
commit
05f2a74ef5
5 files changed
+60
-1
No files matched your search
@@ -1000,7 +1000,10 @@ handleTextFieldKeyPress(TextField *tPtr, XEvent *event)
|
||||
int cancelSelection = 1;
|
||||
Bool shifted, controled, modified;
|
||||
Bool relay = True;
|
||||
WMScreen *scr = tPtr->view->screen;
|
||||
|
||||
event->xkey.state &= ~scr->ignoredModifierMask;
|
||||
|
||||
/*printf("(%d,%d) -> ", tPtr->selection.position, tPtr->selection.count);*/
|
||||
if (((XKeyEvent *) event)->state & WM_EMACSKEYMASK)
|
||||
control_pressed = 1;
|
||||
|
||||
Reference in new issue
Block a user