input: add support for cursor-shape-v1

This commit is contained in:
vaxerski 2023-07-24 18:50:17 +02:00
parent 76d4a50af3
commit f5913135c6
9 changed files with 58 additions and 17 deletions

View file

@ -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);
}