]> Dogcows Code - chaz/openbox/commitdiff
call the place window routine after the frame is created
authorDana Jansens <danakj@orodu.net>
Fri, 17 Jan 2003 07:04:30 +0000 (07:04 +0000)
committerDana Jansens <danakj@orodu.net>
Fri, 17 Jan 2003 07:04:30 +0000 (07:04 +0000)
src/screen.cc

index 498c9c86a9791823469ff296a7f5f0fe1871ac3d..1033f8d8ac822bba34472406d71beb0ee90fded2 100644 (file)
@@ -471,6 +471,9 @@ void Screen::manageWindow(Window window)
   // reparented back to root automatically
   XChangeSaveSet(**otk::display, window, SetModeInsert);
 
+  // create the decoration frame for the client window
+  client->frame = new Frame(client, &_style);
+
   if (!(openbox->state() == Openbox::State_Starting ||
         client->positionRequested())) {
     // position the window intelligenty .. hopefully :)
@@ -479,9 +482,6 @@ void Screen::manageWindow(Window window)
     openbox->bindings()->fireEvent(&data);
   }
 
-  // create the decoration frame for the client window
-  client->frame = new Frame(client, &_style);
-
   // add to the wm's map
   openbox->addClient(client->frame->window(), client);
   openbox->addClient(client->frame->plate(), client);
This page took 0.023436 seconds and 4 git commands to generate.