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 682361 - gsd_wacom_device_get_display_rotation() may return an invalid rotation value
gsd_wacom_device_get_display_rotation() may return an invalid rotation value
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: wacom
3.5.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2012-08-21 14:33 UTC by Olivier Fourdan
Modified: 2012-08-21 15:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (1.05 KB, patch)
2012-08-21 14:34 UTC, Olivier Fourdan
none Details | Review

Description Olivier Fourdan 2012-08-21 14:33:28 UTC
in case of error when invoking gnome_rr_screen_new().

The function gsd_wacom_device_get_display_rotation() is expected to return a GsdWacomRotation, returning -1 in case of error is not a valid rotation value.
Comment 1 Olivier Fourdan 2012-08-21 14:34:56 UTC
Created attachment 222007 [details] [review]
Proposed patch

Trivial patch to address the issue.
Comment 2 Olivier Fourdan 2012-08-21 15:31:45 UTC
Patch pushed to git