| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
We only mirror now devices from the default seat. The logic is
largely unchanged otherwise.
|
| |
|
|
|
|
|
| |
This vfunc pokes the libinput_tool in order to find out the currently
available axes, and updates the device as such.
|
|
|
|
|
| |
This way devices are ensured the proper axis status at the time
of processing the events.
|
|
|
|
|
| |
Tablet proximity, motion and button events are translated into ClutterEvents,
and the device state is updated accordingly.
|
|
|
|
|
| |
This will be backed by a libinput_tool, the type and serial are
fetched from there.
|
|
|
|
| |
These events will be sent on tool proximity of tablet events.
|
|
|
|
| |
These can be used to determine the tool that's being in use for a given event
|
|
|
|
|
| |
This is an unique opaque struct that identifies a given tool of
a given device.
|
|
|
|
| |
These will be useful for the tablet tools that have these features.
|
|
|
|
| |
This is so tablet devices have the correct ClutterInputDeviceType
|
|
|
|
|
| |
This will be useful for tablet support, NULL is given in the current
callers.
|
|
|
|
|
| |
Otherwise the signals are left dangling if the device is removed, causing
possible invalid memory accesses afterwards.
|
|
|
|
|
|
| |
The device name is something more natural, similar to what's seen
in X11, the sysname is rather the event node basename, which may
also vary depending on device insertion/detection time.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
ClutterActor should warn if a user tries to add or remove an actor to,
and from, itself on the scene graph.
Clutter will likely crash, or warn way down the line, but if we can make
debugging simpler then we should.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For the GDK backend We're using the GdkDeviceManager API, which maps to
Clutter's own device manager API. GDK has now moved to a per-seat device
management model, and deprecated the device manager singleton one.
In order to avoid the deprecation warnings, we'd have to implement a
model similar to the GDK one inside the generic Clutter API, but that
would also require moving all the others backend to it, which is pretty
pointless.
Instead, we can disable deprecation warnings for the
ClutterDeviceManager implementation inside the GDK backend.
|
| |
|
|
|
|
|
|
| |
This updates config.h.win32.in to be in-sync with the entries that are in
the config.h.in that is generated by the autotools builds. In particular,
for Visual Studio builds, we default to enable all available drivers ("*").
|
|
|
|
|
|
|
| |
Clones may generate a temporary map/unmap on their source when painting;
this, in turn, will generate unnecessary ATK state changes.
https://bugzilla.gnome.org/show_bug.cgi?id=756371
|
|
|
|
|
|
|
|
| |
The function should return true not only if the actor is being painted
by a ClutterClone, but also if it's inside a sub-graph being painted by
a ClutterClone.
https://bugzilla.gnome.org/show_bug.cgi?id=756371
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Instead of AC_TRY_COMPILE, which has been deprecated by newer autoconf.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The constrain callback cannot rely on the pointer position of the
corresponding ClutterInputDevice to get the actual delta of the motion
event that is to be constrained since it is only updated when an event is
dispatched. So change the API to pass the previous pointer position when
constraining.
https://bugzilla.gnome.org/show_bug.cgi?id=752752
|
|
|
|
|
|
| |
This is needed by Wayland compositors for certain types of events.
https://bugzilla.gnome.org/show_bug.cgi?id=752752
|
|
|
|
|
|
|
| |
It's what libinput uses internally, and it'll be exposed in a later
patch.
https://bugzilla.gnome.org/show_bug.cgi?id=752752
|
|
|
|
|
|
|
|
| |
Compositors need more detailed information about motion events. Make it
possible to retrieve this information when running the evdev backend by
adding the information to the backend specific event struct.
https://bugzilla.gnome.org/show_bug.cgi?id=752752
|
|
|
|
|
|
|
| |
In order to not grow the device id number forever, recycle the ids
whenever a device is released.
https://bugzilla.gnome.org/show_bug.cgi?id=755849
|
| |
|
| |
|
| |
|
| |
|