mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 09:25:59 +01:00
add resizing on border
This commit is contained in:
parent
0577689ce4
commit
4c2c0031e2
1 changed files with 1 additions and 1 deletions
|
@ -394,7 +394,7 @@ void CInputManager::processMouseDownNormal(wlr_pointer_button_event* e) {
|
||||||
if (!PASS && !*PPASSMOUSE)
|
if (!PASS && !*PPASSMOUSE)
|
||||||
return;
|
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 auto w = g_pCompositor->vectorToWindowIdeal(getMouseCoordsInternal());
|
||||||
const wlr_box box = w->getFullWindowBoundingBox();
|
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};
|
const wlr_box real = {w->m_vRealPosition.vec().x, w->m_vRealPosition.vec().y, w->m_vRealSize.vec().x, w->m_vRealSize.vec().y};
|
||||||
|
|
Loading…
Reference in a new issue