aboutsummaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.cc')
-rw-r--r--src/Window.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Window.cc b/src/Window.cc
index 34b92e1..c03447c 100644
--- a/src/Window.cc
+++ b/src/Window.cc
@@ -2884,6 +2884,13 @@ void FluxboxWindow::stopMoving(bool interrupted) {
2884 ungrabPointer(CurrentTime); 2884 ungrabPointer(CurrentTime);
2885 2885
2886 FbTk::App::instance()->sync(false); //make sure the redraw is made before we continue 2886 FbTk::App::instance()->sync(false); //make sure the redraw is made before we continue
2887
2888 // if Head has been changed we want it to redraw by current state
2889 if (m_state.maximized || m_state.fullscreen) {
2890 frame().applyState();
2891 attachWorkAreaSig();
2892 stateSig().notify();
2893 }
2887} 2894}
2888 2895
2889/** 2896/**
@@ -3767,6 +3774,13 @@ void FluxboxWindow::setOnHead(int head) {
3767 screen().getHeadY(head) + frame().y() - screen().getHeadY(cur)); 3774 screen().getHeadY(head) + frame().y() - screen().getHeadY(cur));
3768 m_placed = placed; 3775 m_placed = placed;
3769 } 3776 }
3777
3778 // if Head has been changed we want it to redraw by current state
3779 if (m_state.maximized || m_state.fullscreen) {
3780 frame().applyState();
3781 attachWorkAreaSig();
3782 stateSig().notify();
3783 }
3770} 3784}
3771 3785
3772void FluxboxWindow::placeWindow(int head) { 3786void FluxboxWindow::placeWindow(int head) {