aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/Window.cc14
2 files changed, 19 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d3745d3..fe03f58 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
1 (Format: Year/Month/Day) 1 (Format: Year/Month/Day)
2Changes for 1.1.2 2Changes for 1.1.2
3 3
4*09/11/23:
5 * Keep 'maximized/fullscreen' state when changing the current head of a
6 window (thanks Michal Zimen)
7 Window.cc
8
4*09/10/03: 9*09/10/03:
5 * Build system cleanup: Check for extension headers (Mathias) 10 * Build system cleanup: Check for extension headers (Mathias)
6 autogen.sh configure.in, removed 'missing' file 11 autogen.sh configure.in, removed 'missing' file
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) {