From: Dana Jansens Date: Fri, 19 Jul 2002 19:31:57 +0000 (+0000) Subject: screwed up the order in which hints were retrieved on windows. this actualy turns... X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=37824505d7e75e8693af70803e684f82f7ad93a9;p=chaz%2Fopenbox screwed up the order in which hints were retrieved on windows. this actualy turns out to be important :) --- diff --git a/src/Window.cc b/src/Window.cc index 2eaa6a67..8899ff16 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -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();