--- panel/panel-window.c.orig 2015-02-28 15:52:27.000000000 +0100 +++ panel/panel-window.c 2015-12-22 16:35:44.073877284 +0100 @@ -1543,6 +1543,10 @@ || window->struts_disabled) return STRUTS_EDGE_NONE; + /* first, let's make sure we are working upon + * currently updated snap_position: */ + window->snap_position = panel_window_snap_position (window); + /* return the screen edge on which the window is * visually snapped and where the struts are set */ switch (window->snap_position)