treat Shift+Enter the same as Enter
This commit is contained in:
parent
454604e03c
commit
2a805606fd
2
dmenu.c
2
dmenu.c
@ -503,7 +503,7 @@ insert:
|
|||||||
for (int i = 0;i < selidsize;i++)
|
for (int i = 0;i < selidsize;i++)
|
||||||
if (selid[i] != -1 && (!sel || sel->id != selid[i]))
|
if (selid[i] != -1 && (!sel || sel->id != selid[i]))
|
||||||
puts(items[selid[i]].text);
|
puts(items[selid[i]].text);
|
||||||
if (sel && !(ev->state & ShiftMask))
|
if (sel)
|
||||||
puts(sel->text);
|
puts(sel->text);
|
||||||
else
|
else
|
||||||
puts(text);
|
puts(text);
|
||||||
|
Loading…
Reference in New Issue
Block a user