From 4c2c0031e2f18e13a6c5691bb28c35b268ecadf2 Mon Sep 17 00:00:00 2001 From: Ching Pei Yang Date: Wed, 11 Jan 2023 06:22:42 +0100 Subject: [PATCH] add resizing on border --- src/managers/input/InputManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index 5928f009..608d2b48 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -394,7 +394,7 @@ void CInputManager::processMouseDownNormal(wlr_pointer_button_event* e) { if (!PASS && !*PPASSMOUSE) return; - if (*PBORDERRESIZE && g_pCompositor->m_pLastWindow && !g_pCompositor->m_pLastWindow->m_bIsFullscreen && !g_pCompositor->m_pLastWindow->m_bIsFloating) { + if (*PBORDERRESIZE && g_pCompositor->m_pLastWindow) { const auto w = g_pCompositor->vectorToWindowIdeal(getMouseCoordsInternal()); const wlr_box box = w->getFullWindowBoundingBox(); const wlr_box real = {w->m_vRealPosition.vec().x, w->m_vRealPosition.vec().y, w->m_vRealSize.vec().x, w->m_vRealSize.vec().y};