Go to file
Jonas Ådahl 1b439c42d1 monitor-manager: Find active monitor when deriving global scale
When deriving the global scale directly from the current hardware state
(as done when using the X11 backend) we are inspecting the logical
state they had prior to the most recent hot plug. That means that a
primary monitor might have been disabled, and a new primary monitor may
not have been assigned yet.

Stop assuming a primary monitor has an active mode before having
reconstructed the logical state by finding some active monitor if the
old primary monitor was disabled. This avoids a crash when trying to
derive the global scale from a disabled monitor.

Closes: https://gitlab.gnome.org/GNOME/mutter/issues/130


(cherry picked from commit 0b3a1c9c31)
2018-04-25 08:58:15 +00:00
clutter clutter: Set slave=master in IM forwarded key events 2018-04-22 12:14:37 +02:00
cogl cogl: Read pixels as per the stored format 2018-03-21 20:37:34 +01: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 Updated Slovenian translation 2018-04-10 17:58:12 +02:00
src monitor-manager: Find active monitor when deriving global scale 2018-04-25 08:58:15 +00:00
tools Clean up the source tree 2014-03-18 20:37:35 -04:00
.gitignore wayland: Add support for stable xdg-shell 2018-02-23 18:57:53 +08:00
autogen.sh Fix bashism in autogen.sh 2017-05-11 13:45:44 +02:00
configure.ac Bump version to 3.28.1 2018-04-13 19:11:57 +02: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.28.1 2018-04-13 19:11:57 +02:00