summaryrefslogtreecommitdiff
path: root/src/Compositor.hpp
diff options
context:
space:
mode:
authorgithub-usr-name <github-usr-name@users.noreply.github.com>2024-02-25 14:03:00 +0000
committerGitHub <noreply@github.com>2024-02-25 14:03:00 +0000
commitf9cfec8abb9033e14f558fc2dc24dfa1c2a51e5a (patch)
tree00b8d2e7d913a4cb8401cb70aacd7a86d82650d9 /src/Compositor.hpp
parentf534ac3fc462d8af923d2a1ab8ef58f62639a1ea (diff)
compositor: allow source monitor to be provided to `getMonitorInDirection` (#4837)
Co-authored-by: github-user-name <spam-here@github.com>
Diffstat (limited to 'src/Compositor.hpp')
-rw-r--r--src/Compositor.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Compositor.hpp b/src/Compositor.hpp
index de5677c9..c08a5931 100644
--- a/src/Compositor.hpp
+++ b/src/Compositor.hpp
@@ -171,6 +171,7 @@ class CCompositor {
bool isPointOnReservedArea(const Vector2D& point, const CMonitor* monitor = nullptr);
CWindow* getConstraintWindow(SMouse*);
CMonitor* getMonitorInDirection(const char&);
+ CMonitor* getMonitorInDirection(CMonitor*, const char&);
void updateAllWindowsAnimatedDecorationValues();
void updateWorkspaceWindows(const int64_t& id);
void updateWindowAnimatedDecorationValues(CWindow*);