mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-29 22:05:58 +01:00
remove resize on border check if in fullscreen
This commit is contained in:
parent
01918cdce5
commit
d499c55a3a
1 changed files with 4 additions and 5 deletions
|
@ -395,8 +395,7 @@ void CInputManager::processMouseDownNormal(wlr_pointer_button_event* e) {
|
||||||
// TODO also check surfaces, maybe move into the switch statement below (focuses window first),
|
// TODO also check surfaces, maybe move into the switch statement below (focuses window first),
|
||||||
// so that I don't have to find surfaces myself, plus no need for vectorToWindowIdeal to find the window
|
// so that I don't have to find surfaces myself, plus no need for vectorToWindowIdeal to find the window
|
||||||
const auto w = g_pCompositor->vectorToWindowIdeal(getMouseCoordsInternal());
|
const auto w = g_pCompositor->vectorToWindowIdeal(getMouseCoordsInternal());
|
||||||
// TODO exclude if fullscreen
|
if (*PBORDERRESIZE && w && !w->m_bIsFullscreen && !w->m_bFakeFullscreenState) {
|
||||||
if (*PBORDERRESIZE && w) {
|
|
||||||
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};
|
||||||
const auto mouseCoords = g_pInputManager->getMouseCoordsInternal();
|
const auto mouseCoords = g_pInputManager->getMouseCoordsInternal();
|
||||||
|
|
Loading…
Reference in a new issue