summaryrefslogtreecommitdiff
path: root/src/Window.hpp
diff options
context:
space:
mode:
authorscorpion-26 <58082714+scorpion-26@users.noreply.github.com>2023-01-17 13:20:10 +0100
committerGitHub <noreply@github.com>2023-01-17 13:20:10 +0100
commitc31c627cf85ea4fd40c1647c84d89b5e6f186785 (patch)
tree4b39e6a553566141eceb14a1cd97c7645eb5b9f7 /src/Window.hpp
parentf14e8088478bf1e80e02a213a23c528fe32d3b91 (diff)
Don't ignore previous maximise on defullscreen req (#1393)
When defullscreening a window by the apps' request, we would return the window to normal mode, even if the window was previously maximized. Now a defullscreening request honors the previous maximized state.
Diffstat (limited to 'src/Window.hpp')
-rw-r--r--src/Window.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Window.hpp b/src/Window.hpp
index a9f64379..d729df2a 100644
--- a/src/Window.hpp
+++ b/src/Window.hpp
@@ -111,6 +111,7 @@ class CWindow {
bool m_bIsFloating = false;
bool m_bDraggingTiled = false; // for dragging around tiled windows
bool m_bIsFullscreen = false;
+ bool m_bWasMaximized = false;
uint64_t m_iMonitorID = -1;
std::string m_szTitle = "";
int m_iWorkspaceID = -1;