]> code.delx.au - spectrwm/blobdiff - spectrwm.c
Fix placement issue when uniconifying floaters.
[spectrwm] / spectrwm.c
index d9b3c0585955cfaf4f259a56f0343d396a0393a6..113452fd2240597de55ec74d38a1a1f51d351a49 100644 (file)
@@ -8960,6 +8960,10 @@ propertynotify(xcb_property_notify_event_t *e)
                                focus_flush();
                        }
                } else if (e->state == XCB_PROPERTY_DELETE) {
+                       /* Reload floating geometry in case region changed. */
+                       if (win->floating)
+                               load_float_geom(win);
+
                        /* The window is no longer iconic, restack ws. */
                        if (focus_mode != SWM_FOCUS_FOLLOW)
                                ws->focus_pending = get_focus_magic(win);