projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7990e6f
)
don't place the window magically if we're starting (the window was already placed)
author
Dana Jansens
<danakj@orodu.net>
Tue, 7 Jan 2003 06:56:57 +0000
(06:56 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 7 Jan 2003 06:56:57 +0000
(06:56 +0000)
src/screen.cc
patch
|
blob
|
history
diff --git
a/src/screen.cc
b/src/screen.cc
index f7587abcbfc6a9ed4e51fce2fedebb874c9b19bf..2dcc110f5b668381ec791716af77f2dbf0833a31 100644
(file)
--- 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);