mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2024-11-26 19:33:34 +08:00
parent
ca28de4be3
commit
55f02d3f9a
@ -846,7 +846,19 @@ static void pointer_handle_axis(void* data, struct wl_pointer* pointer, uint32_t
|
||||
|
||||
static void pointer_frame(void* data, struct wl_pointer* wl_pointer)
|
||||
{
|
||||
/*UwacSeat *seat = data;*/
|
||||
UwacPointerFrameEvent* event;
|
||||
UwacSeat* seat = data;
|
||||
UwacWindow* window = seat->pointer_focus;
|
||||
|
||||
if (!window)
|
||||
return;
|
||||
|
||||
event = (UwacPointerFrameEvent*)UwacDisplayNewEvent(seat->display, UWAC_EVENT_POINTER_FRAME);
|
||||
if (!event)
|
||||
return;
|
||||
|
||||
event->seat = seat;
|
||||
event->window = window;
|
||||
}
|
||||
|
||||
static void pointer_axis_source(void* data, struct wl_pointer* wl_pointer, uint32_t axis_source)
|
||||
|
Loading…
Reference in New Issue
Block a user