mirror of
https://github.com/0intro/wmii
synced 2025-01-11 12:49:38 +03:00
correct backspace behaviour in wmiimenu (never backspace more than one char when nitem == 0)
This commit is contained in:
parent
1dc92abfa8
commit
6ad1e76b3e
@ -298,7 +298,7 @@ handle_kpress(XKeyEvent * e)
|
||||
do {
|
||||
text[--i] = 0;
|
||||
update_items(text);
|
||||
} while(i && prev_nitem == nitem);
|
||||
} while(i && nitem && prev_nitem == nitem);
|
||||
update_items(text);
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user