Go to file
Jonas Ådahl 9187314216 monitor-manager-kms: Don't add outputs without modes
There seems to be a kernel race when one disconnects an external
monitor connected to a DisplayPort via a USB-C adapter. The race
results in a connector being reported as connected, but without any
modes supported.

This had the side effect that we tried to set a preferred mode to
the first listed mode, but as no modes were available, we instead tried
to dereference the first element of a NULL array, causing a
segmentation fault.

Mitigate this by skipping adding output if no supported modes are
advertised and the output doesn't support scaling, while moving the
fallback path for calculating a preferred output mode to after possibly
adding the common modes, to avoid the unvolentary NULL dereference.

https://bugzilla.gnome.org/show_bug.cgi?id=789501
2017-10-30 18:50:18 +08:00
clutter Revert "tests: Fix actor-anchors test" 2017-10-21 19:00:46 -04:00
cogl cogl: Only do the swizzling hack for GL contexts 2017-08-21 16:29:39 +02:00
data Use Unicode quotation marks in a translatable string 2017-08-29 18:08:08 +02:00
doc Remove gtk-doc 2015-07-06 00:52:18 -07:00
po [l10n] Updated Catalan (Valencian) translation 2017-10-05 14:15:59 +02:00
src monitor-manager-kms: Don't add outputs without modes 2017-10-30 18:50:18 +08:00
tools Clean up the source tree 2014-03-18 20:37:35 -04:00
.gitignore project: add **/tags.* to gitignore 2017-10-03 15:55:11 -03:00
autogen.sh Fix bashism in autogen.sh 2017-05-11 13:45:44 +02:00
configure.ac build: Fetch pipewire micro version 2017-10-05 16:16:47 -04:00
COPYING Updated obsolete FSF postal address in COPYING 2014-01-13 11:35:48 -05:00
Makefile.am Fix the merged build 2016-04-27 20:37:47 +02:00
mutter.doap doap: add <programming-language> 2014-07-31 17:50:28 +02:00
NEWS Bump version to 3.26.1 2017-10-04 01:11:31 +02:00