From a132968424c96d9dc62d144c5e863a6810c0369d Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 7 Jan 2003 06:56:57 +0000 Subject: [PATCH] don't place the window magically if we're starting (the window was already placed) --- src/screen.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/screen.cc b/src/screen.cc index f7587abc..2dcc110f 100644 --- a/src/screen.cc +++ b/src/screen.cc @@ -492,7 +492,8 @@ void OBScreen::manageWindow(Window window) // reparented back to root automatically XChangeSaveSet(otk::OBDisplay::display, window, SetModeInsert); - if (!client->positionRequested()) { + if (!(Openbox::instance->state() == Openbox::State_Starting || + client->positionRequested())) { // position the window intelligenty .. hopefully :) // call the python PLACEWINDOW binding EventData *data = new_event_data(_number, window, EventPlaceWindow, 0); -- 2.39.2