From cbadf3e3f31ab5ad5d192daac5f2ca930d08b8fb Mon Sep 17 00:00:00 2001 From: MightyPlaza <123664421+MightyPlaza@users.noreply.github.com> Date: Sun, 4 Feb 2024 15:40:20 +0000 Subject: input: focus window on mouse down on decoration (#4514) Also unifies vectorToWindow funcs --- src/helpers/Vector2D.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/helpers/Vector2D.hpp') diff --git a/src/helpers/Vector2D.hpp b/src/helpers/Vector2D.hpp index 16f18793..c56e8a04 100644 --- a/src/helpers/Vector2D.hpp +++ b/src/helpers/Vector2D.hpp @@ -92,6 +92,8 @@ class Vector2D { Vector2D floor() const; Vector2D round() const; + + Vector2D getComponentMax(const Vector2D& other) const; }; /** -- cgit v1.2.3