diff options
| author | epicgamer256705 <86577845+epicgamer256705@users.noreply.github.com> | 2024-02-17 11:21:06 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-17 16:21:06 +0000 |
| commit | 289d952a6ee02f6d54a0899870bbec52ff9a53df (patch) | |
| tree | 6e9cc071ee688366071e916b935d56685fb26988 /src/managers/KeybindManager.cpp | |
| parent | 294e51a857d158ce0b03c5fd752bbd05e67f6bc9 (diff) | |
dispatchers: add Fullscreen without sending fullscreen to application (#4720)
* Add extra option to fullscreen
* Remove useless branch
fixes #1817
---------
Co-authored-by: matteo bob <matteo4375@gmail.com>
Diffstat (limited to 'src/managers/KeybindManager.cpp')
| -rw-r--r-- | src/managers/KeybindManager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index 8e7418fb..9c56d557 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -964,6 +964,9 @@ void CKeybindManager::fullscreenActive(std::string args) { if (g_pCompositor->isWorkspaceSpecial(PWINDOW->m_iWorkspaceID)) return; + PWINDOW->m_bDontSendFullscreen = false; + if (args == "2") + PWINDOW->m_bDontSendFullscreen = true; g_pCompositor->setWindowFullscreen(PWINDOW, !PWINDOW->m_bIsFullscreen, args == "1" ? FULLSCREEN_MAXIMIZED : FULLSCREEN_FULL); } |
