From 01918cdce5b9620137bffc8bd23dc6d974443ed2 Mon Sep 17 00:00:00 2001 From: Ching Pei Yang Date: Thu, 12 Jan 2023 14:41:50 +0100 Subject: [PATCH] cleanup old comments --- src/managers/input/InputManager.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/managers/input/InputManager.cpp b/src/managers/input/InputManager.cpp index 85b5e29d..3d1aa9b6 100644 --- a/src/managers/input/InputManager.cpp +++ b/src/managers/input/InputManager.cpp @@ -399,8 +399,6 @@ void CInputManager::processMouseDownNormal(wlr_pointer_button_event* e) { if (*PBORDERRESIZE && w) { 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}; - // check if clicked on gaps/border (borders are hard to click on, doesn't matter how thick it is) - // TODO take curved corners into consideration const auto mouseCoords = g_pInputManager->getMouseCoordsInternal(); if (wlr_box_contains_point(&box, mouseCoords.x, mouseCoords.y) && (!wlr_box_contains_point(&real, mouseCoords.x, mouseCoords.y) || w->isInCurvedCorner(mouseCoords.x, mouseCoords.y))) {