diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-10-14 20:46:32 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-10-14 20:46:32 +0100 |
| commit | 34cd8b125ad9f03ababd7789ebe12eac69e23227 (patch) | |
| tree | 5595368acdc5d1612c276350bf430a79667fe6dc /src/Window.hpp | |
| parent | b0544dbfffb79e1aa043c7626fbcbc86b8ee9379 (diff) | |
rework focus system to be more safe and faster
Diffstat (limited to 'src/Window.hpp')
| -rw-r--r-- | src/Window.hpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/Window.hpp b/src/Window.hpp index e0fa7ffa..5b2b201f 100644 --- a/src/Window.hpp +++ b/src/Window.hpp @@ -118,9 +118,6 @@ public: Vector2D m_vOriginalClosedPos; // these will be used for calculations later on in Vector2D m_vOriginalClosedSize; // drawing the closing animations - // For hidden windows and stuff - bool m_bHidden = false; - // For pinned (sticky) windows bool m_bPinned = false; @@ -172,4 +169,12 @@ public: void updateSurfaceOutputs(); void moveToWorkspace(int); CWindow* X11TransientFor(); + void onUnmap(); + void setHidden(bool hidden); + bool isHidden(); + +private: + // For hidden windows and stuff + bool m_bHidden = false; + }; |
