Fix reparentnotify handling
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
eb89467896
commit
52f4581be3
4
event.c
4
event.c
|
@ -743,10 +743,8 @@ static void
|
||||||
event_handle_reparentnotify(xcb_reparent_notify_event_t *ev)
|
event_handle_reparentnotify(xcb_reparent_notify_event_t *ev)
|
||||||
{
|
{
|
||||||
client_t *c;
|
client_t *c;
|
||||||
#warning ugly, gotta do this properly
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
if((c = client_getbywin(ev->window)))
|
if((c = client_getbywin(ev->window)) && c->frame_window != ev->parent)
|
||||||
client_unmanage(c);
|
client_unmanage(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue