dwm.c
changeset 1083 f07dd2c127c1
parent 1082 3a617d40e320
child 1084 30802b8a0fb1
equal deleted inserted replaced
1082:3a617d40e320 1083:f07dd2c127c1
   372 			movemouse(c);
   372 			movemouse(c);
   373 		}
   373 		}
   374 		else if(ev->button == Button2) {
   374 		else if(ev->button == Button2) {
   375 			if((floating != m->layout->arrange) && c->isfloating)
   375 			if((floating != m->layout->arrange) && c->isfloating)
   376 				togglefloating(NULL);
   376 				togglefloating(NULL);
   377 			zoom(NULL);
   377 			else
       
   378 				zoom(NULL);
   378 		}
   379 		}
   379 		else if(ev->button == Button3 && !c->isfixed) {
   380 		else if(ev->button == Button3 && !c->isfixed) {
   380 			restack();
   381 			restack();
   381 			resizemouse(c);
   382 			resizemouse(c);
   382 		}
   383 		}