if((c = getclient(ev->window)))
focus(c);
else if(ev->window == root)
- sel_screen = True;
+ issel = True;
}
static void
XCrossingEvent *ev = &e->xcrossing;
if((ev->window == root) && !ev->same_screen)
- sel_screen = True;
+ issel = True;
}
static void
if(ev->state == PropertyDelete)
return; /* ignore */
- if(ev->atom == wm_atom[WMProtocols]) {
- c->proto = win_proto(c->win);
- return;
- }
if((c = getclient(ev->window))) {
+ if(ev->atom == wm_atom[WMProtocols]) {
+ c->proto = win_proto(c->win);
+ return;
+ }
switch (ev->atom) {
default: break;
case XA_WM_TRANSIENT_FOR: