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 706231 - MonitorXrandr: fix setting gamma ramps
MonitorXrandr: fix setting gamma ramps
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2013-08-18 09:45 UTC by Giovanni Campagna
Modified: 2013-08-18 10:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
MonitorXrandr: fix setting gamma ramps (1.45 KB, patch)
2013-08-18 09:45 UTC, Giovanni Campagna
committed Details | Review

Description Giovanni Campagna 2013-08-18 09:45:54 UTC
The value passed to XRRCrtcSetGamma must be allocated with
XRRAllocGamma (because it relies on the locations of green and blue),
otherwise garbage is sent on the wire.
Comment 1 Giovanni Campagna 2013-08-18 09:45:56 UTC
Created attachment 252096 [details] [review]
MonitorXrandr: fix setting gamma ramps
Comment 2 drago01 2013-08-18 10:37:13 UTC
Review of attachment 252096 [details] [review]:

OK.
Comment 3 Giovanni Campagna 2013-08-18 10:59:20 UTC
Attachment 252096 [details] pushed as 015c05f - MonitorXrandr: fix setting gamma ramps