changeset 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 ba504f41828f
children faa4cb9d7bd6
files event.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- a/event.c	Mon Mar 23 00:14:48 2009 -0700
     1.2 +++ b/event.c	Tue Mar 24 12:52:45 2009 -0700
     1.3 @@ -143,6 +143,10 @@
     1.4  				a.i = -1;
     1.5  				setlayout(&a);
     1.6  				break;
     1.7 +			case Button3:
     1.8 +				a.i = -2;
     1.9 +				setlayout(&a);
    1.10 +				break;
    1.11  			case Button4:
    1.12  				a.i = 1;
    1.13  				incnmaster(&a);