X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fscreen.cc;h=de1927b6ab7d037bdaf4d2ab8a89237d8e2103cf;hb=41a03629c9f166f7a1b427ed1634b44c6c38da6e;hp=13e2a79af14ad8ae96e8704d1052a977a6824859;hpb=fe9fb53a7b28e8c156bb68a3968057ad8808cdee;p=chaz%2Fopenbox 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);