fix p_delete
This commit is contained in:
parent
382c5ceb5e
commit
0d75586ed5
2
event.c
2
event.c
|
@ -241,7 +241,7 @@ handle_event_enternotify(XEvent * e)
|
||||||
focus(c, ev->same_screen, c->screen);
|
focus(c, ev->same_screen, c->screen);
|
||||||
if (c->isfloating || curtags[0]->layout->arrange == layout_floating)
|
if (c->isfloating || curtags[0]->layout->arrange == layout_floating)
|
||||||
window_grabbuttons(c->display, c->phys_screen, c->win, True, False);
|
window_grabbuttons(c->display, c->phys_screen, c->win, True, False);
|
||||||
p_delete(curtags);
|
p_delete(&curtags);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
for(screen = 0; screen < ScreenCount(e->xany.display); screen++)
|
for(screen = 0; screen < ScreenCount(e->xany.display); screen++)
|
||||||
|
|
Loading…
Reference in New Issue