diff options
Diffstat (limited to 'src/Window.hpp')
| -rw-r--r-- | src/Window.hpp | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/src/Window.hpp b/src/Window.hpp index d4a34c8d..38eb857c 100644 --- a/src/Window.hpp +++ b/src/Window.hpp @@ -37,7 +37,15 @@ enum eGetWindowProperties { FULL_EXTENTS = 1 << 2, FLOATING_ONLY = 1 << 3, ALLOW_FLOATING = 1 << 4, - USE_PROP_TILED = 1 << 5 + USE_PROP_TILED = 1 << 5, +}; + +enum eSuppressEvents { + SUPPRESS_NONE = 0, + SUPPRESS_FULLSCREEN = 1 << 0, + SUPPRESS_MAXIMIZE = 1 << 1, + SUPPRESS_ACTIVATE = 1 << 2, + SUPPRESS_ACTIVATE_FOCUSONLY = 1 << 3, }; class IWindowTransformer; @@ -264,9 +272,10 @@ class CWindow { bool m_bNoInitialFocus = false; // Fullscreen and Maximize - bool m_bWantsInitialFullscreen = false; - bool m_bNoFullscreenRequest = false; - bool m_bNoMaximizeRequest = false; + bool m_bWantsInitialFullscreen = false; + + // bitfield eSuppressEvents + uint64_t m_eSuppressedEvents = SUPPRESS_NONE; SSurfaceTreeNode* m_pSurfaceTree = nullptr; |
