summaryrefslogtreecommitdiff
path: root/src/layout/IHyprLayout.hpp
diff options
context:
space:
mode:
authorbvr-yr <130279855+bvr-yr@users.noreply.github.com>2024-03-06 03:15:44 +0300
committerGitHub <noreply@github.com>2024-03-06 00:15:44 +0000
commitfb87e332c59ce386a095b3e81bb1abbcc9cc3e5c (patch)
tree1b1bdf9cd40cd3ad244112d245a7b18ddad7a52f /src/layout/IHyprLayout.hpp
parentb1e2ca04a016b1ea24344d3cfb2eb3370863eb5e (diff)
input: fix window move stutter by introducing additional checks for low-hz monitors (#4553)
* resize-limiter: add additional check for low-hz monitors * simplify checker * add comment * rename variable
Diffstat (limited to 'src/layout/IHyprLayout.hpp')
-rw-r--r--src/layout/IHyprLayout.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/layout/IHyprLayout.hpp b/src/layout/IHyprLayout.hpp
index ffe004bc..d3f8dfa6 100644
--- a/src/layout/IHyprLayout.hpp
+++ b/src/layout/IHyprLayout.hpp
@@ -188,6 +188,7 @@ class IHyprLayout {
virtual Vector2D predictSizeForNewWindow();
private:
+ int m_iMouseMoveEventCount;
Vector2D m_vBeginDragXY;
Vector2D m_vLastDragXY;
Vector2D m_vBeginDragPositionXY;