diff options
| author | thejch <66577496+thejch@users.noreply.github.com> | 2024-03-04 15:29:45 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-04 23:29:45 +0000 |
| commit | 9c48c322d49ba083ae474bc9131470d89cdce6fd (patch) | |
| tree | 46e1c29c80b8e8707d36c95610a7b4a9d1cd40f2 /src/helpers/Monitor.cpp | |
| parent | 7a76ab01d16cdeb3bbb11449476d2b8ad84a3fda (diff) | |
keybinds: Allow fullscreen/maximize in special workspace (#4921)
* allow fullscreen/maximize in special workspace
* remove duplicate code
* hide top layer
* fix special fullscreen deco
* edit
* fix fade top layer when toggle special
* remove double render
Diffstat (limited to 'src/helpers/Monitor.cpp')
| -rw-r--r-- | src/helpers/Monitor.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp index 12857969..7e9bc82a 100644 --- a/src/helpers/Monitor.cpp +++ b/src/helpers/Monitor.cpp @@ -628,6 +628,10 @@ void CMonitor::setSpecialWorkspace(CWorkspace* const pWorkspace) { else g_pInputManager->refocus(); + g_pCompositor->updateFullscreenFadeOnWorkspace(PWORKSPACE); + + g_pConfigManager->ensureVRR(this); + g_pCompositor->updateSuspendedStates(); return; @@ -688,6 +692,10 @@ void CMonitor::setSpecialWorkspace(CWorkspace* const pWorkspace) { g_pHyprRenderer->damageMonitor(this); + g_pCompositor->updateFullscreenFadeOnWorkspace(pWorkspace); + + g_pConfigManager->ensureVRR(this); + g_pCompositor->updateSuspendedStates(); } |
