all repos — openbox @ f61a455ec1704d305d8643b8215c8e0647f4c869

openbox fork - make it a bit more like ryudo

get the window's title before adding it to the workspace, since the workspace menu wants that title
Dana Jansens danakj@orodu.net
commit

f61a455ec1704d305d8643b8215c8e0647f4c869

parent

03f9d6170bd97dbbb968746f2841d9fa5cb3e977

1 files changed, 4 insertions(+), 2 deletions(-)

jump to
M src/Window.ccsrc/Window.cc

@@ -260,6 +260,10 @@ #ifdef SHAPE

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 @@

void BlackboxWindow::associateClientWindow(void) { XSetWindowBorderWidth(blackbox->getXDisplay(), client.window, 0); - getWMName(); - getWMIconName(); XChangeSaveSet(blackbox->getXDisplay(), client.window, SetModeInsert);