Window placement off-screen

Olivier Fourdan fourdan at gmail.com
Thu Apr 28 17:59:04 CEST 2011


On Thu, Apr 28, 2011 at 5:56 PM, Michael Orlitzky <michael at orlitzky.com> wrote:
> I volunteer to be your crash test dummy =)
>
> I'll patch it locally and see if anything breaks. If it works for a few
> months, maybe it could be another checkbox in WM tweaks?

That's the patch:

diff --git a/src/client.c b/src/client.c
index f17e885..a60b83a 100644
--- a/src/client.c
+++ b/src/client.c
@@ -855,7 +855,7 @@ clientMoveResizeWindow (Client * c, XWindowChanges * wc, uns
     }
     if (mask & (CWWidth | CWHeight))
     {
-        flags |= CFG_KEEP_VISIBLE;
+        flags |= CFG_CONSTRAINED | CFG_KEEP_VISIBLE;
     }
     /*
        Let's say that if the client performs a XRaiseWindow, we show the window



More information about the Xfce mailing list