dwm.c
changeset 1049 a2dae7badb92
parent 1048 98fc0d3c583a
child 1050 fb5fa382c002
equal deleted inserted replaced
1048:98fc0d3c583a 1049:a2dae7badb92
   338 			else
   338 			else
   339 				togglefloating(NULL);
   339 				togglefloating(NULL);
   340 			movemouse(c);
   340 			movemouse(c);
   341 		}
   341 		}
   342 		else if(ev->button == Button2) {
   342 		else if(ev->button == Button2) {
   343 			if((floating != layout->arrange) && !c->isfixed && c->isfloating)
   343 			if((floating != layout->arrange) && c->isfloating)
   344 				togglefloating(NULL);
   344 				togglefloating(NULL);
   345 			else
   345 			else
   346 				zoom(NULL);
   346 				zoom(NULL);
   347 		}
   347 		}
   348 		else if(ev->button == Button3 && !c->isfixed) {
   348 		else if(ev->button == Button3 && !c->isfixed) {