mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-07 17:46:00 +01:00
static-ize master opt
This commit is contained in:
parent
46891b12cf
commit
1a9ee959dd
1 changed files with 1 additions and 1 deletions
|
@ -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 the current window is fullscreen, make it normal again if we are about to lose focus
|
||||||
if (pWindow->m_bIsFullscreen) {
|
if (pWindow->m_bIsFullscreen) {
|
||||||
g_pCompositor->setWindowFullscreen(pWindow, false, FULLSCREEN_FULL);
|
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;
|
return *INHERIT == 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue