diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-10-24 12:25:36 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-10-24 12:25:36 +0100 |
| commit | c04563734e0482bd10045c70d9d85177e5448143 (patch) | |
| tree | 84e4faa43322f690096fdcb38db980047e51c304 /src/layout/IHyprLayout.hpp | |
| parent | 1d0d350fc31c7b7b834dcf15016bf1495b81d7e1 (diff) | |
Rework candidate finding on close window
Diffstat (limited to 'src/layout/IHyprLayout.hpp')
| -rw-r--r-- | src/layout/IHyprLayout.hpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/layout/IHyprLayout.hpp b/src/layout/IHyprLayout.hpp index b084e05f..9116212c 100644 --- a/src/layout/IHyprLayout.hpp +++ b/src/layout/IHyprLayout.hpp @@ -123,10 +123,22 @@ public: */ virtual std::string getLayoutName() = 0; + /* + Called for getting the next candidate for a focus + */ + virtual CWindow* getNextWindowCandidate(CWindow*); + + /* + Internal: called when window focus changes + */ + virtual void onWindowFocusChange(CWindow*); + private: Vector2D m_vBeginDragXY; Vector2D m_vLastDragXY; Vector2D m_vBeginDragPositionXY; Vector2D m_vBeginDragSizeXY; int m_iGrabbedCorner = 0; + + CWindow* m_pLastTiledWindow = nullptr; }; |
