Previously, if a window was placed on a workspace other than the current one,
the window placement settings (given by WindowPlacement) are ignored and
the window was drawn in the upper left hand corner.  This is Debian
bug #181735.
---
 src/window.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/window.c b/src/window.c
index 6e22765..801d7b6 100644
--- a/src/window.c
+++ b/src/window.c
@@ -964,9 +964,8 @@ WWindow *wManageWindow(WScreen *scr, Window window)
        wWindowConstrainSize(wwin, &width, &height);
 
        /* do not ask for window placement if the window is
-        * transient, during startup, if the initial workspace is another one
-        * or if the window wants to start iconic.
-        * If geometry was saved, restore it. */
+        * transient, during startup, or if the window wants
+        * to start iconic.  If geometry was saved, restore it. */
        {
                Bool dontBring = False;
 
@@ -975,7 +974,6 @@ WWindow *wManageWindow(WScreen *scr, Window window)
                        y = win_state->state->y;
                } else if ((wwin->transient_for == None || 
wPreferences.window_placement != WPM_MANUAL)
                           && !scr->flags.startup
-                          && workspace == scr->current_workspace
                           && !wwin->flags.miniaturized
                           && !wwin->flags.maximized && 
!(wwin->normal_hints->flags & (USPosition | PPosition))) {
 
-- 
2.5.0


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to