diff --git a/dmenu.c b/dmenu.c index 777b41c..4e5c109 100644 --- a/dmenu.c +++ b/dmenu.c @@ -503,7 +503,7 @@ insert: for (int i = 0;i < selidsize;i++) if (selid[i] != -1 && (!sel || sel->id != selid[i])) puts(items[selid[i]].text); - if (sel && !(ev->state & ShiftMask)) + if (sel) puts(sel->text); else puts(text);