summaryrefslogtreecommitdiff
path: root/src/Compositor.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-03-18 22:53:27 +0100
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-03-18 22:53:27 +0100
commit5811d968bffee6fbc68c198fb92e6700547a72b0 (patch)
tree3a262be3065465c3090f184527182ad2f8717fc5 /src/Compositor.hpp
parenta1a8f3b6d579d5df3a46dff92a221b7ad48f3e84 (diff)
focus and move mouse to inputmanager
Diffstat (limited to 'src/Compositor.hpp')
-rw-r--r--src/Compositor.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Compositor.hpp b/src/Compositor.hpp
index 5cf039aa..d35604a7 100644
--- a/src/Compositor.hpp
+++ b/src/Compositor.hpp
@@ -50,12 +50,17 @@ public:
void startCompositor();
+ CWindow* m_pLastFocus = nullptr;
+
// ------------------------------------------------- //
SMonitor* getMonitorFromID(const int&);
SMonitor* getMonitorFromCursor();
void removeWindowFromVectorSafe(CWindow*);
+ void focusWindow(CWindow*);
+ bool windowExists(CWindow*);
+ CWindow* vectorToWindow(const Vector2D&);
};