new color stuff/new rendering stuff
This commit is contained in:
parent
9833610356
commit
b55bd709ee
6 changed files with 70 additions and 58 deletions
4
event.c
4
event.c
|
@ -105,7 +105,9 @@ buttonpress(XEvent *e)
|
|||
XButtonPressedEvent *ev = &e->xbutton;
|
||||
|
||||
if(barwin == ev->window) {
|
||||
x = 0;
|
||||
if(ev->x < modew)
|
||||
return;
|
||||
x = modew;
|
||||
for(a.i = 0; a.i < ntags; a.i++) {
|
||||
x += textw(tags[a.i]);
|
||||
if(ev->x < x) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue