summaryrefslogtreecommitdiff
path: root/src/Window.hpp
diff options
context:
space:
mode:
authorMightyPlaza <123664421+MightyPlaza@users.noreply.github.com>2023-07-23 17:47:41 +0000
committerGitHub <noreply@github.com>2023-07-23 19:47:41 +0200
commit50e6f368fffece098bea4f0cd87ce3d555ab2cbd (patch)
tree22e1ec6c56597e66deb9b868f04a3fcd380340a0 /src/Window.hpp
parent975c4175b2db65e9b0e6bea79111cb2c4e5e4ca1 (diff)
windowrules: implements nomaximizerequest (#2785)
* Window.hpp * ConfigManager.cpp * Windows.cpp * fix maximize event
Diffstat (limited to 'src/Window.hpp')
-rw-r--r--src/Window.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Window.hpp b/src/Window.hpp
index caf00ab7..3ef33414 100644
--- a/src/Window.hpp
+++ b/src/Window.hpp
@@ -10,8 +10,7 @@
#include "helpers/Vector2D.hpp"
#include "helpers/WLSurface.hpp"
-enum eIdleInhibitMode
-{
+enum eIdleInhibitMode {
IDLEINHIBIT_NONE = 0,
IDLEINHIBIT_ALWAYS,
IDLEINHIBIT_FULLSCREEN,
@@ -226,9 +225,10 @@ class CWindow {
bool m_bNoFocus = false;
bool m_bNoInitialFocus = false;
- // initial fullscreen and fullscreen disabled
+ // Fullscreen and Maximize
bool m_bWantsInitialFullscreen = false;
bool m_bNoFullscreenRequest = false;
+ bool m_bNoMaximizeRequest = false;
SSurfaceTreeNode* m_pSurfaceTree = nullptr;