From 12d79d63421e2ed3f31130755c7a37f0e4fb5cb1 Mon Sep 17 00:00:00 2001 From: rszyma Date: Fri, 26 Jan 2024 23:30:36 +0100 Subject: dwindle: fix windows being created at incorrect position when cursor is over reserved area (#4520) * fix: smart_split not working correctly when creating a window with cursor over reserved area * use getClosestNodeOnWorkspace instead of getFirstNodeOnWorkspace when hovering over reserved area * optimize `getClosestNodeOnWorkspace` * remove unused methods --- src/helpers/Vector2D.hpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/helpers/Vector2D.hpp') diff --git a/src/helpers/Vector2D.hpp b/src/helpers/Vector2D.hpp index 34b06862..16f18793 100644 --- a/src/helpers/Vector2D.hpp +++ b/src/helpers/Vector2D.hpp @@ -92,8 +92,6 @@ class Vector2D { Vector2D floor() const; Vector2D round() const; - - bool inTriangle(const Vector2D& p1, const Vector2D& p2, const Vector2D& p3) const; }; /** -- cgit v1.2.3