get the window's title before adding it to the workspace, since the workspace menu wants that title
This commit is contained in:
parent
03f9d6170b
commit
f61a455ec1
1 changed files with 4 additions and 2 deletions
|
@ -261,6 +261,10 @@ BlackboxWindow::BlackboxWindow(Blackbox *b, Window w, BScreen *s) {
|
|||
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);
|
||||
else
|
||||
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue