Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
added draw.c again (except getcolor and setfont which are helpers in main.c)
[dwm.git]
/
event.c
diff --git
a/event.c
b/event.c
index
b6a77fd
..
3086284
100644
(file)
--- a/
event.c
+++ b/
event.c
@@
-140,7
+140,8
@@
buttonpress(XEvent *e) {
if(ev->x < x + blw)
switch(ev->button) {
case Button1:
if(ev->x < x + blw)
switch(ev->button) {
case Button1:
- togglelayout(NULL);
+ a.i = -1;
+ setlayout(&a);
break;
case Button4:
a.i = 1;
break;
case Button4:
a.i = 1;