mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-09 00:21:56 -07:00
layout: allow drag on fullscreen windows
This commit is contained in:
@@ -179,9 +179,8 @@ void IHyprLayout::onBeginDragWindow() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (DRAGGINGWINDOW->m_bIsFullscreen) {
|
if (DRAGGINGWINDOW->m_bIsFullscreen) {
|
||||||
Debug::log(LOG, "Rejecting drag on a fullscreen window.");
|
Debug::log(LOG, "Dragging a fullscreen window");
|
||||||
g_pInputManager->currentlyDraggedWindow = nullptr;
|
g_pCompositor->setWindowFullscreen(DRAGGINGWINDOW, false, FULLSCREEN_FULL);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const auto PWORKSPACE = g_pCompositor->getWorkspaceByID(DRAGGINGWINDOW->m_iWorkspaceID);
|
const auto PWORKSPACE = g_pCompositor->getWorkspaceByID(DRAGGINGWINDOW->m_iWorkspaceID);
|
||||||
|
Reference in New Issue
Block a user