mirror of
https://github.com/0intro/wmii
synced 2024-11-29 17:13:11 +03:00
small fix in wmiimenu
This commit is contained in:
parent
74a288bccd
commit
dade08e735
@ -239,8 +239,10 @@ handle_kpress(XKeyEvent * e)
|
||||
sel++;
|
||||
break;
|
||||
case XK_Return:
|
||||
if(e->state & ShiftMask)
|
||||
if(e->state & ShiftMask) {
|
||||
if(text)
|
||||
fprintf(stdout, "%s", text);
|
||||
}
|
||||
else if(sel >= 0)
|
||||
fprintf(stdout, "%s", item.data[sel]);
|
||||
else if(text)
|
||||
|
Loading…
Reference in New Issue
Block a user