aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-12-12 14:37:49 +0000
committervaxerski <[email protected]>2022-12-12 14:37:49 +0000
commit1a9ee959dd2ebdf0c9db14bfeae4fe66188d54a8 (patch)
tree1dec464ccb83fd2a25516409683bc2d31e9b1e7d
parent46891b12cf307d8bf934b42e5b4919fa594075f0 (diff)
downloadHyprland-1a9ee959dd2ebdf0c9db14bfeae4fe66188d54a8.tar.gz
Hyprland-1a9ee959dd2ebdf0c9db14bfeae4fe66188d54a8.zip
static-ize master opt
-rw-r--r--src/layout/MasterLayout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/MasterLayout.cpp b/src/layout/MasterLayout.cpp
index 186b0375..d1ece288 100644
--- a/src/layout/MasterLayout.cpp
+++ b/src/layout/MasterLayout.cpp
@@ -694,7 +694,7 @@ bool CHyprMasterLayout::prepareLoseFocus(CWindow* pWindow) {
//if the current window is fullscreen, make it normal again if we are about to lose focus
if (pWindow->m_bIsFullscreen) {
g_pCompositor->setWindowFullscreen(pWindow, false, FULLSCREEN_FULL);
- const auto INHERIT = &g_pConfigManager->getConfigValuePtr("master:inherit_fullscreen")->intValue;
+ static auto *const INHERIT = &g_pConfigManager->getConfigValuePtr("master:inherit_fullscreen")->intValue;
return *INHERIT == 1;
}