X-Git-Url: https://code.delx.au/spectrwm/blobdiff_plain/68a43ba16acf2001e1686dc39e98447ba6bcf297..96a9efc6dd64855273b924a419aa2ccd334ad428:/spectrwm.c diff --git a/spectrwm.c b/spectrwm.c index f5c5a0d..3aeb294 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -11096,7 +11096,7 @@ reparentnotify(xcb_reparent_notify_event_t *e) if (win->state == SWM_WIN_STATE_REPARENTING) { win->state = SWM_WIN_STATE_REPARENTED; - if (win->ws->r) + if (win->ws->r && !ICONIC(win)) map_window(win); else unmap_window(win);