X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2FWindow.cc;h=4824a34acadc4b2ded219ea7c32264eef5faac4a;hb=c5d10bd1dda362a41460f91619ae5e85a7665f6f;hp=f18d4dead2aaafdb4adef0f1a84392f2eba14ebb;hpb=74a4bc01a7b272350552f6de14a6a1cf2c344e22;p=chaz%2Fopenbox diff --git a/src/Window.cc b/src/Window.cc index f18d4dea..4824a34a 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -153,7 +153,7 @@ BlackboxWindow::BlackboxWindow(Blackbox *b, Window w, BScreen *s) { windowmenu = 0; /* - get the initial size and location of client window (relative to the + set the initial size and location of client window (relative to the _root window_). This position is the reference point used with the window's gravity to find the window's initial position. */ @@ -2719,12 +2719,13 @@ void BlackboxWindow::propertyNotifyEvent(const XPropertyEvent *pe) { // determine if this is a transient window getTransientInfo(); + if (flags.stuck != s) stick(); + // adjust the window decorations based on transience if (isTransient()) { functions &= ~Func_Maximize; setAllowedActions(); setupDecor(); - if (flags.stuck != s) stick(); } reconfigure();