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 719716 - Make test-clip friendly for people with only one mouse button
Make test-clip friendly for people with only one mouse button
Status: RESOLVED FIXED
Product: clutter
Classification: Platform
Component: conformance
unspecified
Other All
: Normal normal
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks:
 
 
Reported: 2013-12-02 19:15 UTC by Neil Roberts
Modified: 2013-12-04 16:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Make test-clip friendly for people with only one mouse button (2.43 KB, patch)
2013-12-02 19:15 UTC, Neil Roberts
committed Details | Review

Description Neil Roberts 2013-12-02 19:15:43 UTC
The various shapes can now be drawn by holding down modifier keys
instead of requiring a three-button mouse.
Comment 1 Neil Roberts 2013-12-02 19:15:45 UTC
Created attachment 263330 [details] [review]
Make test-clip friendly for people with only one mouse button
Comment 2 Emmanuele Bassi (:ebassi) 2013-12-02 23:35:35 UTC
Review of attachment 263330 [details] [review]:

looks good. you can also use clutter_event_has_shift_modifier() and clutter_event_has_control_modifier(), but it's fine either way.
Comment 3 Neil Roberts 2013-12-04 16:05:31 UTC
Ok, thanks. I've changed it to use those two functions and pushed it to the 1.18 branch.