]> Dogcows Code - chaz/openbox/commitdiff
get the window's title before adding it to the workspace, since the workspace menu...
authorDana Jansens <danakj@orodu.net>
Mon, 29 Jul 2002 05:25:30 +0000 (05:25 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 29 Jul 2002 05:25:30 +0000 (05:25 +0000)
src/Window.cc

index 769e036f8dfc8badcfe4516b2de0d6bb0e7ab74c..14505a36f11950c36ecdaa79e7e8096842d03021 100644 (file)
@@ -260,6 +260,10 @@ BlackboxWindow::BlackboxWindow(Blackbox *b, Window w, BScreen *s) {
   if (blackbox->hasShapeExtensions() && flags.shaped)
     configureShape();
 #endif // SHAPE
+  
+  // get the window's title before adding it to the workspace
+  getWMName();
+  getWMIconName();
 
   if (blackbox_attrib.workspace >= screen->getWorkspaceCount())
     screen->getCurrentWorkspace()->addWindow(this, place_window);
@@ -448,8 +452,6 @@ Window BlackboxWindow::createChildWindow(Window parent, Cursor cursor) {
 
 void BlackboxWindow::associateClientWindow(void) {
   XSetWindowBorderWidth(blackbox->getXDisplay(), client.window, 0);
-  getWMName();
-  getWMIconName();
 
   XChangeSaveSet(blackbox->getXDisplay(), client.window, SetModeInsert);
 
This page took 0.031779 seconds and 4 git commands to generate.