implemented viewextend and added M-S-C-n shortcuts for extending the current view... updated man page (works great!) nice feature
This commit is contained in:
parent
d7413ffd2d
commit
292ccc4c43
8 changed files with 100 additions and 68 deletions
7
event.c
7
event.c
|
@ -108,11 +108,8 @@ buttonpress(XEvent *e)
|
|||
for(a.i = 0; a.i < ntags; a.i++) {
|
||||
x += textw(tags[a.i]);
|
||||
if(ev->x < x) {
|
||||
if(ev->button == Button3) {
|
||||
tsel[a.i] = True;
|
||||
arrange(NULL);
|
||||
drawall();
|
||||
}
|
||||
if(ev->button == Button3)
|
||||
viewextend(&a);
|
||||
else
|
||||
view(&a);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue