diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-22 10:36:26 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-08-22 10:36:26 (GMT) |
commit | 8681220f5361fef500d7eda28d9f22bbf0a006e4 (patch) | |
tree | c4a53e66ef743fe52f8176e7cf828a8796ac7bc8 /src/Window.cc | |
parent | 2f3a48f17fead42b6b2ed906318641e279bb9505 (diff) | |
download | fluxbox-8681220f5361fef500d7eda28d9f22bbf0a006e4.zip fluxbox-8681220f5361fef500d7eda28d9f22bbf0a006e4.tar.bz2 |
don't apply rounded corners to windows without decorations
Diffstat (limited to 'src/Window.cc')
-rw-r--r-- | src/Window.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Window.cc b/src/Window.cc index d7a2bee..79419d0 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -1451,8 +1451,6 @@ void FluxboxWindow::setFullscreen(bool flag) { | |||
1451 | if (isShaded()) | 1451 | if (isShaded()) |
1452 | shade(); | 1452 | shade(); |
1453 | 1453 | ||
1454 | frame().setUseShape(false); | ||
1455 | |||
1456 | m_old_layernum = layerNum(); | 1454 | m_old_layernum = layerNum(); |
1457 | if (!maximized) { | 1455 | if (!maximized) { |
1458 | m_old_pos_x = frame().x(); | 1456 | m_old_pos_x = frame().x(); |
@@ -1483,8 +1481,6 @@ void FluxboxWindow::setFullscreen(bool flag) { | |||
1483 | fullscreen = false; | 1481 | fullscreen = false; |
1484 | frame().setFullscreen(false); | 1482 | frame().setFullscreen(false); |
1485 | 1483 | ||
1486 | frame().setUseShape(true); | ||
1487 | |||
1488 | // ensure we apply the sizehints here, otherwise some | 1484 | // ensure we apply the sizehints here, otherwise some |
1489 | // apps (eg xterm) end up a little bit .. crappy (visually) | 1485 | // apps (eg xterm) end up a little bit .. crappy (visually) |
1490 | frame().applySizeHints(m_old_width, m_old_height); | 1486 | frame().applySizeHints(m_old_width, m_old_height); |