projects
/
suckless
/
dmenu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a33a72
)
fixed vlist cursor
author
Connor Lane Smith
<cls@lubutu.com>
Tue, 22 Jun 2010 09:45:07 +0000
(10:45 +0100)
committer
Connor Lane Smith
<cls@lubutu.com>
Tue, 22 Jun 2010 09:45:07 +0000
(10:45 +0100)
dmenu.c
patch
|
blob
|
history
diff --git
a/dmenu.c
b/dmenu.c
index 15ce8c75e463e74be1fae896905cc314f8b06289..b89c0dad80c58b9248bc515d32cf8bde1a45393c 100644
(file)
--- a/
dmenu.c
+++ b/
dmenu.c
@@
-472,7
+472,7
@@
kpress(XKeyEvent * e) {
calcoffsets();
break;
case XK_Left:
- if(cursor > 0 && (!sel || !sel->left)) {
+ if(cursor > 0 && (!sel || !sel->left
|| lines > 0
)) {
while(cursor-- > 0 && !IS_UTF8_1ST_CHAR(text[cursor]));
break;
}