]> Dogcows Code - chaz/openbox/commitdiff
screwed up the order in which hints were retrieved on windows. this actualy turns...
authorDana Jansens <danakj@orodu.net>
Fri, 19 Jul 2002 19:31:57 +0000 (19:31 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 19 Jul 2002 19:31:57 +0000 (19:31 +0000)
src/Window.cc

index 2eaa6a67a56aa7650b50a66b9c06fe40ff5349f8..8899ff1646c73ee7f70091a097b3fecae4a6a600 100644 (file)
@@ -153,10 +153,17 @@ BlackboxWindow::BlackboxWindow(Blackbox *b, Window w, BScreen *s) {
   client.rect.setRect(wattrib.x, wattrib.y, wattrib.width, wattrib.height);
   client.old_bw = wattrib.border_width;
 
-  timer = 0;
   windowmenu = 0;
   lastButtonPressTime = 0;
 
+  timer = new BTimer(blackbox, this);
+  timer->setTimeout(blackbox->getAutoRaiseDelay());
+
+  if (! getBlackboxHints()) {
+    getMWMHints();
+    getNetWMHints();
+  }
+
   // get size, aspect, minimum/maximum size and other hints set by the
   // client
   getWMProtocols();
@@ -169,14 +176,6 @@ BlackboxWindow::BlackboxWindow(Blackbox *b, Window w, BScreen *s) {
     return;
   }
 
-  timer = new BTimer(blackbox, this);
-  timer->setTimeout(blackbox->getAutoRaiseDelay());
-
-  if (! getBlackboxHints()) {
-    getMWMHints();
-    getNetWMHints();
-  }
-
   frame.window = createToplevelWindow();
   frame.plate = createChildWindow(frame.window);
   associateClientWindow();
This page took 0.034714 seconds and 4 git commands to generate.