summaryrefslogtreecommitdiff
path: root/src/Window.hpp
diff options
context:
space:
mode:
authorEpilepsy Gatherings <73647246+phonetic112@users.noreply.github.com>2024-02-13 13:07:19 -0500
committerGitHub <noreply@github.com>2024-02-13 18:07:19 +0000
commit2a3429d4cfdc01794b9d6fc1b49be1da019b5606 (patch)
tree046d1995e8ff8c8f14eeac584e1a95c029c014a3 /src/Window.hpp
parent95abf1220f56acbe88517799fc4b92be2e908575 (diff)
internal: add `forcenofocus` prop (#4672)
* add forcenofocus * change nofocus to overridable var
Diffstat (limited to 'src/Window.hpp')
-rw-r--r--src/Window.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Window.hpp b/src/Window.hpp
index b0689b61..d4a34c8d 100644
--- a/src/Window.hpp
+++ b/src/Window.hpp
@@ -143,6 +143,7 @@ struct SWindowAdditionalConfigData {
CWindowOverridableVar<bool> forceNoBorder = false;
CWindowOverridableVar<bool> forceNoShadow = false;
CWindowOverridableVar<bool> forceNoDim = false;
+ CWindowOverridableVar<bool> noFocus = false;
CWindowOverridableVar<bool> windowDanceCompat = false;
CWindowOverridableVar<bool> noMaxSize = false;
CWindowOverridableVar<bool> dimAround = false;
@@ -260,7 +261,6 @@ class CWindow {
//
// For nofocus
- bool m_bNoFocus = false;
bool m_bNoInitialFocus = false;
// Fullscreen and Maximize