summaryrefslogtreecommitdiff
path: root/src/Compositor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Compositor.hpp')
-rw-r--r--src/Compositor.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Compositor.hpp b/src/Compositor.hpp
index bca0e3c5..4bf5d85b 100644
--- a/src/Compositor.hpp
+++ b/src/Compositor.hpp
@@ -60,7 +60,7 @@ public:
void startCompositor();
wlr_surface* m_pLastFocus = nullptr;
- wlr_surface* m_pLastFocusWindow = nullptr;
+ CWindow* m_pLastWindow = nullptr;
SMonitor* m_pLastMonitor = nullptr;
SSeat m_sSeat;
@@ -71,7 +71,7 @@ public:
SMonitor* getMonitorFromCursor();
SMonitor* getMonitorFromVector(const Vector2D&);
void removeWindowFromVectorSafe(CWindow*);
- void focusWindow(CWindow*);
+ void focusWindow(CWindow*, wlr_surface* pSurface = nullptr);
void focusSurface(wlr_surface*, CWindow* pWindowOwner = nullptr);
bool windowExists(CWindow*);
bool windowValidMapped(CWindow*);