diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-30 09:18:05 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-30 09:18:05 +0200 |
| commit | 7522ade58d348f3a8dc38f5567008b83e655352a (patch) | |
| tree | be50a5dba5dd41bfd2e2517f843e850b313864cf /src/managers/KeybindManager.cpp | |
| parent | 3d7abfea92222658e6c4afd04c90ed4ed92a7951 (diff) | |
don't set fullscreen to maximized apps
Diffstat (limited to 'src/managers/KeybindManager.cpp')
| -rw-r--r-- | src/managers/KeybindManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index 57412d88..79c2eaa8 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -298,7 +298,7 @@ void CKeybindManager::fullscreenActive(std::string args) { g_pLayoutManager->getCurrentLayout()->fullscreenRequestForWindow(PWINDOW, args == "1" ? eFullscreenMode::FULLSCREEN_MAXIMIZED : eFullscreenMode::FULLSCREEN_FULL); - g_pXWaylandManager->setWindowFullscreen(PWINDOW, PWINDOW->m_bIsFullscreen); + g_pXWaylandManager->setWindowFullscreen(PWINDOW, PWINDOW->m_bIsFullscreen && args == "0"); // make all windows on the same workspace under the fullscreen window for (auto& w : g_pCompositor->m_lWindows) { |
