GNOME Bugzilla – Bug 706672
MonitorXrandr: skip CRTC reconfigurations that have no effect
Last modified: 2013-08-26 08:08:40 UTC
If we're attempting to reconfigure the CRTCs to the same parameter, skip the X call, as in some drivers a modeset can take time and cause flicker.
Created attachment 252886 [details] [review] MonitorXrandr: skip CRTC reconfigurations that have no effect
Review of attachment 252886 [details] [review]: ::: src/core/monitor-xrandr.c @@ +835,3 @@ meta_error_trap_pop (meta_get_display ()); + g_free (outputs); Uh, are you sure this free is high enough? If we continue because nothing changed, we leak outputs. Perhaps have a goto next; with the free at the bottom of the loop?
Created attachment 252892 [details] [review] MonitorXrandr: skip CRTC reconfigurations that have no effect If we're attempting to reconfigure the CRTCs to the same parameter, skip the X call, as in some drivers a modeset can take time and cause flicker.
Review of attachment 252892 [details] [review]: OK.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.