input: only override dragging corner on floating (#5092)

Co-authored-by: djvs <djvs@users.noreply.github.com>
This commit is contained in:
djvs
2024-03-12 23:38:32 -04:00
committed by GitHub
parent c58fcfbce2
commit 893c55217b

View File

@@ -218,7 +218,7 @@ void IHyprLayout::onBeginDragWindow() {
// get the grab corner
static auto RESIZECORNER = CConfigValue<Hyprlang::INT>("general:resize_corner");
if (*RESIZECORNER != 0 && *RESIZECORNER <= 4) {
if (*RESIZECORNER != 0 && *RESIZECORNER <= 4 && DRAGGINGWINDOW->m_bIsFloating) {
switch (*RESIZECORNER) {
case 1:
m_eGrabbedCorner = CORNER_TOPLEFT;