diff 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
line wrap: on
line diff
--- a/event.c	Fri Sep 29 19:06:27 2006 +0200
+++ b/event.c	Thu Oct 05 09:37:11 2006 +0200
@@ -126,6 +126,8 @@
 		if(ev->x < x + bmw) {
 			if(ev->button == Button1)
 				togglemode(NULL);
+			else if(ev->button == Button3)
+				togglestackpos(NULL);
 		}
 	}
 	else if((c = getclient(ev->window))) {