all repos — openbox @ 37824505d7e75e8693af70803e684f82f7ad93a9

openbox fork - make it a bit more like ryudo

screwed up the order in which hints were retrieved on windows. this actualy turns out to be important :)
Dana Jansens danakj@orodu.net
commit

37824505d7e75e8693af70803e684f82f7ad93a9

parent

5862475ff27fe250a27723ea36c8eb4f29eed87d

1 files changed, 8 insertions(+), 9 deletions(-)

jump to
M src/Window.ccsrc/Window.cc

@@ -153,9 +153,16 @@ */

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

@@ -167,14 +174,6 @@ if (client.initial_state == WithdrawnState) {

screen->getSlit()->addClient(client.window); delete this; return; - } - - timer = new BTimer(blackbox, this); - timer->setTimeout(blackbox->getAutoRaiseDelay()); - - if (! getBlackboxHints()) { - getMWMHints(); - getNetWMHints(); } frame.window = createToplevelWindow();