summaryrefslogtreecommitdiff
path: root/src/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers')
-rw-r--r--src/helpers/WLClasses.hpp11
-rw-r--r--src/helpers/Workspace.hpp1
2 files changed, 12 insertions, 0 deletions
diff --git a/src/helpers/WLClasses.hpp b/src/helpers/WLClasses.hpp
index b06390b5..b6c38416 100644
--- a/src/helpers/WLClasses.hpp
+++ b/src/helpers/WLClasses.hpp
@@ -239,3 +239,14 @@ struct SIdleInhibitor {
return pWlrInhibitor == b.pWlrInhibitor;
}
};
+
+struct SSwipeGesture {
+ CWorkspace* pWorkspaceBegin = nullptr;
+
+ double delta = 0;
+
+ float avgSpeed = 0;
+ int speedPoints = 0;
+
+ SMonitor* pMonitor = nullptr;
+}; \ No newline at end of file
diff --git a/src/helpers/Workspace.hpp b/src/helpers/Workspace.hpp
index 2d0c5941..dbf0e7c0 100644
--- a/src/helpers/Workspace.hpp
+++ b/src/helpers/Workspace.hpp
@@ -28,6 +28,7 @@ public:
// for animations
CAnimatedVariable m_vRenderOffset;
CAnimatedVariable m_fAlpha;
+ bool m_bForceRendering = true;
// "scratchpad"
bool m_bIsSpecialWorkspace = false;