mirror of
https://github.com/mintycube/dmenu.git
synced 2024-10-22 12:05:48 +00:00
multiselect + restrict return compatibilty
This commit is contained in:
parent
287e7d6afa
commit
b210a99e31
4
dmenu.c
4
dmenu.c
@ -1007,6 +1007,10 @@ keypress(XKeyEvent *ev)
|
|||||||
goto draw;
|
goto draw;
|
||||||
case XK_Return:
|
case XK_Return:
|
||||||
case XK_KP_Enter:
|
case XK_KP_Enter:
|
||||||
|
#if RESTRICT_RETURN_PATCH
|
||||||
|
if (restrict_return)
|
||||||
|
break;
|
||||||
|
#endif // RESTRICT_RETURN_PATCH
|
||||||
#if MULTI_SELECTION_PATCH
|
#if MULTI_SELECTION_PATCH
|
||||||
selsel();
|
selsel();
|
||||||
#endif // MULTI_SELECTION_PATCH
|
#endif // MULTI_SELECTION_PATCH
|
||||||
|
Loading…
x
Reference in New Issue
Block a user