After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 704269 - evdev: add a way for applications to tweak how devices are opened
evdev: add a way for applications to tweak how devices are opened
Status: RESOLVED FIXED
Product: clutter
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks: 705861
 
 
Reported: 2013-07-15 16:28 UTC by Giovanni Campagna
Modified: 2013-08-13 07:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
evdev: add a way for applications to tweak how devices are opened (3.80 KB, patch)
2013-07-15 16:28 UTC, Giovanni Campagna
none Details | Review
evdev: add a way for applications to tweak how devices are opened (4.10 KB, patch)
2013-07-15 16:33 UTC, Giovanni Campagna
committed Details | Review

Description Giovanni Campagna 2013-07-15 16:28:26 UTC
In some cases, applications (or actually, wayland compositors)
don't have the required permissions to access evdev directly, but
can do so with an external helper like weston-launch.

Allow them to do so with a custom callback that replaces the regular
open() path.
Comment 1 Giovanni Campagna 2013-07-15 16:28:29 UTC
Created attachment 249217 [details] [review]
evdev: add a way for applications to tweak how devices are opened
Comment 2 Giovanni Campagna 2013-07-15 16:33:38 UTC
Created attachment 249222 [details] [review]
evdev: add a way for applications to tweak how devices are opened

In some cases, applications (or actually, wayland compositors)
don't have the required permissions to access evdev directly, but
can do so with an external helper like weston-launch.

Allow them to do so with a custom callback that replaces the regular
open() path.

Now with more callback data!
Comment 3 Emmanuele Bassi (:ebassi) 2013-08-12 17:28:36 UTC
Review of attachment 249222 [details] [review]:

holy ad hoc API, Batman!

anyway, looks generally okay to me.
Comment 4 Giovanni Campagna 2013-08-13 07:42:14 UTC
Attachment 249222 [details] pushed as 26b2852 - evdev: add a way for applications to tweak how devices are opened