Go to file
Jonas Ådahl d092e913d6 gpu-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
2018-02-05 10:38:54 +08:00
clutter clutter/evdev: Add support for BTN_STYLUS3 2018-01-30 19:28:02 +01:00
cogl cogl: Add way to pass user data when setting custom renderer winsys 2017-10-05 18:10:30 -04:00
data data: Don't expose window shading shortcut 2018-01-24 19:09:27 +01:00
doc Remove gtk-doc 2015-07-06 00:52:18 -07:00
po Update Indonesian translation 2018-02-04 12:28:55 +00:00
src gpu-kms: Don't add outputs without modes 2018-02-05 10:38:54 +08:00
tools Clean up the source tree 2014-03-18 20:37:35 -04:00
.gitignore wayland: Add Xwayland grab keyboard support 2017-12-18 13:15:20 +01:00
autogen.sh Fix bashism in autogen.sh 2017-05-11 13:45:44 +02:00
configure.ac screen-cast: Update to pipewire 0.1.8 API 2018-01-25 11:40:03 +08: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.27.1 2017-10-17 17:44:39 +02:00