summaryrefslogtreecommitdiff
path: root/src/managers/input/InputManager.hpp
diff options
context:
space:
mode:
authorJunxuan Liao <70618504+MikeWalrus@users.noreply.github.com>2025-01-25 12:44:13 -0600
committerGitHub <noreply@github.com>2025-01-25 19:44:13 +0100
commit9199a9746d7a9355fd349909cb0f773b513ae912 (patch)
treebe2742c93aa98e9c4d9b3f6a688ae0bd2aec54f0 /src/managers/input/InputManager.hpp
parentbce58d9d6554f1b69ecf38e19f0921230e37ab6d (diff)
input: pass touch events to lock screens (#9129)
* refactor: use weak pointers for session lock surfaces * input: pass touch events to lock screens
Diffstat (limited to 'src/managers/input/InputManager.hpp')
-rw-r--r--src/managers/input/InputManager.hpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/managers/input/InputManager.hpp b/src/managers/input/InputManager.hpp
index c0f1939e..3afb1b88 100644
--- a/src/managers/input/InputManager.hpp
+++ b/src/managers/input/InputManager.hpp
@@ -10,6 +10,7 @@
#include "../../devices/IPointer.hpp"
#include "../../devices/ITouch.hpp"
#include "../../devices/Tablet.hpp"
+#include "../SessionLockManager.hpp"
class CPointerConstraint;
class CWindow;
@@ -52,10 +53,11 @@ enum eBorderIconDirection : uint8_t {
};
struct STouchData {
- PHLWINDOWREF touchFocusWindow;
- PHLLSREF touchFocusLS;
- WP<CWLSurfaceResource> touchFocusSurface;
- Vector2D touchSurfaceOrigin;
+ WP<SSessionLockSurface> touchFocusLockSurface;
+ PHLWINDOWREF touchFocusWindow;
+ PHLLSREF touchFocusLS;
+ WP<CWLSurfaceResource> touchFocusSurface;
+ Vector2D touchSurfaceOrigin;
};
// The third row is always 0 0 1 and is not expected by `libinput_device_config_calibration_set_matrix`