summaryrefslogtreecommitdiff
path: root/src/events/Windows.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-04-28 15:36:08 +0100
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-04-28 15:36:08 +0100
commitdbb6d9d17421618901d3e7d985af1aee4414e537 (patch)
tree27505b1f94bd901952a1a6dbabc2f407e2fcc36b /src/events/Windows.cpp
parentf23455e592bca14e0abd9249de467cc71cd2850e (diff)
rules: add noinitialfocus
Diffstat (limited to 'src/events/Windows.cpp')
-rw-r--r--src/events/Windows.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp
index 221c3e63..149899ea 100644
--- a/src/events/Windows.cpp
+++ b/src/events/Windows.cpp
@@ -179,6 +179,8 @@ void Events::listener_mapWindow(void* owner, void* data) {
PWINDOW->m_bIsPseudotiled = true;
} else if (r.szRule.find("nofocus") == 0) {
PWINDOW->m_bNoFocus = true;
+ } else if (r.szRule.find("noinitialfocus") == 0) {
+ PWINDOW->m_bNoInitialFocus = true;
} else if (r.szRule.find("nofullscreenrequest") == 0) {
PWINDOW->m_bNoFullscreenRequest = true;
} else if (r.szRule == "fullscreen") {