aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/events/Misc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/events/Misc.cpp')
-rw-r--r--src/events/Misc.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/events/Misc.cpp b/src/events/Misc.cpp
index da680a00..eb1a0e81 100644
--- a/src/events/Misc.cpp
+++ b/src/events/Misc.cpp
@@ -231,3 +231,9 @@ void Events::listener_setGamma(wl_listener* listener, void* data) {
g_pCompositor->scheduleFrameForMonitor(PMONITOR);
}
+
+void Events::listener_setCursorShape(wl_listener* listener, void* data) {
+ const auto E = (wlr_cursor_shape_manager_v1_request_set_shape_event*)data;
+
+ g_pInputManager->processMouseRequest(E);
+}