]> Dogcows Code - chaz/openbox/commitdiff
sync with bb-cvs.
authorDana Jansens <danakj@orodu.net>
Thu, 15 Aug 2002 16:27:02 +0000 (16:27 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 15 Aug 2002 16:27:02 +0000 (16:27 +0000)
Add the if(sticky) check back into the changing-transient-state code.. test this with vanrijn/bbkeys/klaunch!

src/Window.cc

index 8afe4cd55bb068693a9ae0ec2300cdde3bbc6c08..4824a34acadc4b2ded219ea7c32264eef5faac4a 100644 (file)
@@ -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();
This page took 0.028817 seconds and 4 git commands to generate.