Mercurial > hg > index.fcgi > dwm > dwm-3.6.1-12pba
comparison event.c @ 2:de6bb7885c97
add right-click eventon layout icon to go to previous layout
author | pang@hit-nxdomain.opendns.com |
---|---|
date | Tue, 24 Mar 2009 12:52:45 -0700 |
parents | 7024076fa948 |
children | faa4cb9d7bd6 |
comparison
equal
deleted
inserted
replaced
0:c52074937cd6 | 1:33c75a93ee2b |
---|---|
141 switch(ev->button) { | 141 switch(ev->button) { |
142 case Button1: | 142 case Button1: |
143 a.i = -1; | 143 a.i = -1; |
144 setlayout(&a); | 144 setlayout(&a); |
145 break; | 145 break; |
146 case Button3: | |
147 a.i = -2; | |
148 setlayout(&a); | |
149 break; | |
146 case Button4: | 150 case Button4: |
147 a.i = 1; | 151 a.i = 1; |
148 incnmaster(&a); | 152 incnmaster(&a); |
149 break; | 153 break; |
150 case Button5: | 154 case Button5: |