From 50e6f368fffece098bea4f0cd87ce3d555ab2cbd Mon Sep 17 00:00:00 2001 From: MightyPlaza <123664421+MightyPlaza@users.noreply.github.com> Date: Sun, 23 Jul 2023 17:47:41 +0000 Subject: windowrules: implements nomaximizerequest (#2785) * Window.hpp * ConfigManager.cpp * Windows.cpp * fix maximize event --- src/Window.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Window.hpp') 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; -- cgit v1.2.3