summaryrefslogtreecommitdiff
path: root/src/desktop/Window.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/desktop/Window.hpp')
-rw-r--r--src/desktop/Window.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/desktop/Window.hpp b/src/desktop/Window.hpp
index d8b4012d..bc1820a0 100644
--- a/src/desktop/Window.hpp
+++ b/src/desktop/Window.hpp
@@ -237,6 +237,9 @@ class CWindow {
Vector2D m_vLastFloatingSize;
Vector2D m_vLastFloatingPosition;
+ // for floating window offset in workspace animations
+ Vector2D m_vFloatingOffset = Vector2D(0, 0);
+
// this is used for pseudotiling
bool m_bIsPseudotiled = false;
Vector2D m_vPseudoSize = Vector2D(0, 0);
@@ -421,6 +424,7 @@ class CWindow {
void updateGroupOutputs();
void switchWithWindowInGroup(CWindow* pWindow);
void setAnimationsToMove();
+ void onWorkspaceAnimUpdate();
private:
// For hidden windows and stuff