From 157c555b7725e6977569c5206313240d3d448933 Mon Sep 17 00:00:00 2001 From: Reginald Kennedy Date: Wed, 6 Nov 2013 04:12:56 +0800 Subject: [PATCH] Fix placement issue when uniconifying floaters. Resolves #4 --- spectrwm.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spectrwm.c b/spectrwm.c index d9b3c05..113452f 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -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); -- 1.7.10.4