From e2f3f5fe63323ef6477b312f770083be485d53d7 Mon Sep 17 00:00:00 2001 From: Dashie Date: Sat, 26 Nov 2022 21:44:40 +0100 Subject: Add nofullscreen to windowrules (#1107) * feat: add windowrule to prevent fullscreen --- src/Window.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Window.hpp') diff --git a/src/Window.hpp b/src/Window.hpp index 5aab6db8..59ef1857 100644 --- a/src/Window.hpp +++ b/src/Window.hpp @@ -131,8 +131,9 @@ public: bool m_bNoFocus = false; bool m_bNoInitialFocus = false; - // initial fullscreen + // initial fullscreen and fullscreen disabled bool m_bWantsInitialFullscreen = false; + bool m_bNoFullscreenRequest = false; SSurfaceTreeNode* m_pSurfaceTree = nullptr; -- cgit v1.2.3