aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc4
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);