summaryrefslogtreecommitdiff
path: root/src/screen.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-01 10:22:33 +0000
committerDana Jansens <danakj@orodu.net>2003-02-01 10:22:33 +0000
commitb18e83e010a9dec95d42296751469aba0960bc5c (patch)
treeec1ab9c4879fd317e364ddf611c6b8383f518252 /src/screen.cc
parente1e5293ae354ab7b1c8459aab85e60e1a801924d (diff)
always call the placewindow routine
Diffstat (limited to 'src/screen.cc')
-rw-r--r--src/screen.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/screen.cc b/src/screen.cc
index 13e2a79a..de1927b6 100644
--- a/src/screen.cc
+++ b/src/screen.cc
@@ -512,8 +512,7 @@ void Screen::manageWindow(Window window)
// reparent the client to the frame
client->frame->grabClient();
- if (!(openbox->state() == Openbox::State_Starting ||
- client->positionRequested())) {
+ if (openbox->state() != Openbox::State_Starting) {
// position the window intelligenty .. hopefully :)
// call the python PLACEWINDOW binding
EventData data(_number, client, EventAction::PlaceWindow, 0);