summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-07-19 19:31:57 +0000
committerDana Jansens <danakj@orodu.net>2002-07-19 19:31:57 +0000
commit37824505d7e75e8693af70803e684f82f7ad93a9 (patch)
tree5df88746df8cea4414c2de85df8a58aa5acb5782 /src
parent5862475ff27fe250a27723ea36c8eb4f29eed87d (diff)
screwed up the order in which hints were retrieved on windows. this actualy turns out to be important :)
Diffstat (limited to 'src')
-rw-r--r--src/Window.cc17
1 files changed, 8 insertions, 9 deletions
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();