comparison event.c @ 520:834a77509a64

Button3 click on mode label toggles stack position now
author Anselm R. Garbe <arg@10kloc.org>
date Thu, 05 Oct 2006 09:37:11 +0200
parents ede48935f2b3
children 451f19d48845
comparison
equal deleted inserted replaced
519:6cad48068e4c 520:834a77509a64
124 } 124 }
125 } 125 }
126 if(ev->x < x + bmw) { 126 if(ev->x < x + bmw) {
127 if(ev->button == Button1) 127 if(ev->button == Button1)
128 togglemode(NULL); 128 togglemode(NULL);
129 else if(ev->button == Button3)
130 togglestackpos(NULL);
129 } 131 }
130 } 132 }
131 else if((c = getclient(ev->window))) { 133 else if((c = getclient(ev->window))) {
132 focus(c); 134 focus(c);
133 if(CLEANMASK(ev->state) != MODKEY) 135 if(CLEANMASK(ev->state) != MODKEY)