aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Window.cc b/src/Window.cc
index b44fd1d..2b997a7 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -389,8 +389,10 @@ void FluxboxWindow::init() {
389 if (! m_client->getAttrib(wattrib) || 389 if (! m_client->getAttrib(wattrib) ||
390 !wattrib.screen || // no screen? ?? 390 !wattrib.screen || // no screen? ??
391 wattrib.override_redirect || // override redirect 391 wattrib.override_redirect || // override redirect
392 m_client->initial_state == WithdrawnState) // Slit client 392 m_client->initial_state == WithdrawnState ||
393 m_client->getWMClassClass() == "DockApp") { // Slit client
393 return; 394 return;
395 }
394 396
395 if (m_client->initial_state == IconicState) 397 if (m_client->initial_state == IconicState)
396 m_state.iconic = true; 398 m_state.iconic = true;
@@ -399,6 +401,7 @@ void FluxboxWindow::init() {
399 m_client->setGroupLeftWindow(None); // nothing to the left. 401 m_client->setGroupLeftWindow(None); // nothing to the left.
400 402
401 if (Fluxbox::instance()->haveShape()) 403 if (Fluxbox::instance()->haveShape())
404
402 Shape::setShapeNotify(winClient()); 405 Shape::setShapeNotify(winClient());
403 406
404 //!! TODO init of client should be better 407 //!! TODO init of client should be better