mirror of
https://github.com/brl/mutter.git
synced 2025-02-08 17:44:09 +00:00
ClutterVirtualInputDeviceEvdev: Forward motion events
https://bugzilla.gnome.org/show_bug.cgi?id=765009
This commit is contained in:
parent
bd326d38ac
commit
d2b05f0305
@ -62,6 +62,14 @@ clutter_virtual_input_device_evdev_notify_relative_motion (ClutterVirtualInputDe
|
|||||||
double dx,
|
double dx,
|
||||||
double dy)
|
double dy)
|
||||||
{
|
{
|
||||||
|
ClutterVirtualInputDeviceEvdev *virtual_evdev =
|
||||||
|
CLUTTER_VIRTUAL_INPUT_DEVICE_EVDEV (virtual_device);
|
||||||
|
|
||||||
|
clutter_seat_evdev_notify_relative_motion (virtual_evdev->seat,
|
||||||
|
virtual_evdev->device,
|
||||||
|
time_us,
|
||||||
|
dx, dy,
|
||||||
|
dx, dy);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -70,6 +78,14 @@ clutter_virtual_input_device_evdev_notify_absolute_motion (ClutterVirtualInputDe
|
|||||||
double x,
|
double x,
|
||||||
double y)
|
double y)
|
||||||
{
|
{
|
||||||
|
ClutterVirtualInputDeviceEvdev *virtual_evdev =
|
||||||
|
CLUTTER_VIRTUAL_INPUT_DEVICE_EVDEV (virtual_device);
|
||||||
|
|
||||||
|
clutter_seat_evdev_notify_absolute_motion (virtual_evdev->seat,
|
||||||
|
virtual_evdev->device,
|
||||||
|
time_us,
|
||||||
|
x, y,
|
||||||
|
NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user