diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-02 18:57:09 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-02 18:57:09 +0200 |
| commit | 223beb8a826773e2e3ea4c6d7e7d40fde9247d9a (patch) | |
| tree | 41d89a962caaf8e63f777e50cf00a2505e7f9a3e /src/Compositor.hpp | |
| parent | c923b4f0756c3494d408a257c08922621d120ae2 (diff) | |
Multiple focus handling changes
Diffstat (limited to 'src/Compositor.hpp')
| -rw-r--r-- | src/Compositor.hpp | 4 |
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*); |
