mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 04:20:27 +01:00
Allow using numpad Enter key in dialogs for confirmation
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
This commit is contained in:
committed by
Carlos R. Mafra
parent
16e92d89aa
commit
49e94f9747
@@ -1000,6 +1000,9 @@ static void handleTextFieldKeyPress(TextField * tPtr, XEvent * event)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
#ifdef XK_KP_Enter
|
||||||
|
case XK_KP_Enter:
|
||||||
|
#endif
|
||||||
case XK_Return:
|
case XK_Return:
|
||||||
if (!modified) {
|
if (!modified) {
|
||||||
data = (void *)WMReturnTextMovement;
|
data = (void *)WMReturnTextMovement;
|
||||||
|
|||||||
Reference in New Issue
Block a user