dwm.c
changeset 1525 c361034c5a1c
parent 1523 26f81e0f1eb3
child 1526 64eb02a74f2b
equal deleted inserted replaced
1524:050d521d66d8 1525:c361034c5a1c
   797 		return;
   797 		return;
   798 	if((m = wintomon(ev->window)) && m != selmon) {
   798 	if((m = wintomon(ev->window)) && m != selmon) {
   799 		unfocus(selmon->sel, True);
   799 		unfocus(selmon->sel, True);
   800 		selmon = m;
   800 		selmon = m;
   801 	}
   801 	}
   802 	focus(wintoclient(ev->window));
   802 	focus((wintoclient(ev->window)));
   803 }
   803 }
   804 
   804 
   805 void
   805 void
   806 expose(XEvent *e) {
   806 expose(XEvent *e) {
   807 	Monitor *m;
   807 	Monitor *m;