aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-05-30 09:18:05 +0200
committervaxerski <[email protected]>2022-05-30 09:18:05 +0200
commit7522ade58d348f3a8dc38f5567008b83e655352a (patch)
treebe50a5dba5dd41bfd2e2517f843e850b313864cf
parent3d7abfea92222658e6c4afd04c90ed4ed92a7951 (diff)
downloadHyprland-7522ade58d348f3a8dc38f5567008b83e655352a.tar.gz
Hyprland-7522ade58d348f3a8dc38f5567008b83e655352a.zip
don't set fullscreen to maximized apps
-rw-r--r--src/managers/KeybindManager.cpp2
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) {