aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/layout/IHyprLayout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/IHyprLayout.cpp')
-rw-r--r--src/layout/IHyprLayout.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/layout/IHyprLayout.cpp b/src/layout/IHyprLayout.cpp
index 92191732..f5908a90 100644
--- a/src/layout/IHyprLayout.cpp
+++ b/src/layout/IHyprLayout.cpp
@@ -179,9 +179,8 @@ void IHyprLayout::onBeginDragWindow() {
}
if (DRAGGINGWINDOW->m_bIsFullscreen) {
- Debug::log(LOG, "Rejecting drag on a fullscreen window.");
- g_pInputManager->currentlyDraggedWindow = nullptr;
- return;
+ Debug::log(LOG, "Dragging a fullscreen window");
+ g_pCompositor->setWindowFullscreen(DRAGGINGWINDOW, false, FULLSCREEN_FULL);
}
const auto PWORKSPACE = g_pCompositor->getWorkspaceByID(DRAGGINGWINDOW->m_iWorkspaceID);