Jonas Ådahl
db43c45b12
layout: Unset primary and bottom monitor when headless
...
We were handling being initially headless by only setting the primary
and bottom monitor if there was any primary monitor, then checking the
primary monitor reference before making calls assuming there was any
monitors.
What we didn't do was unset the primary and bottom monitor when going
headless, meaning that temporarly disconnecting a monitor while having
windows open caused an assert to be triggered due to various code paths
taking the path assuming there are valid monitors.
Unsetting both the primary and bottom monitor when going headless avoids
the code paths in the same way as they were avoided when starting
headless.
https://bugzilla.gnome.org/show_bug.cgi?id=788607
2017-10-06 20:31:14 -04:00
..
2017-09-19 20:07:21 +02:00
2017-08-22 12:09:04 +02:00
2017-07-18 21:52:06 +02:00
2017-09-19 20:09:20 +02:00
2017-07-18 21:52:06 +02:00
2017-08-22 13:02:58 +02:00
2017-08-30 21:16:16 -05:00
2017-07-18 21:52:06 +02:00
2017-07-31 16:17:35 +01:00
2017-07-18 21:52:06 +02:00
2017-09-04 16:28:58 +08:00
2017-10-04 16:44:07 +02:00
2017-07-18 21:52:06 +02:00
2017-07-18 21:52:06 +02:00
2017-07-18 21:52:06 +02:00
2017-07-18 21:52:06 +02:00
2017-10-04 18:12:26 +02:00
2017-10-04 18:12:27 +02:00
2017-09-22 15:50:07 +01:00
2017-07-18 21:52:06 +02:00
2017-07-18 21:52:06 +02:00
2017-07-19 01:45:12 +02:00
2017-07-18 21:52:06 +02:00
2017-07-18 21:52:06 +02:00
2017-07-18 21:52:06 +02:00
2017-07-18 21:52:06 +02:00
2017-07-18 21:52:06 +02:00
2017-07-19 10:49:54 +02:00
2017-08-22 12:09:04 +02:00
2017-07-23 16:06:04 +02:00
2017-10-06 20:31:14 -04:00
2017-07-18 21:52:06 +02:00
2017-07-18 21:52:06 +02:00
2017-07-18 21:52:06 +02:00
2017-07-18 21:52:06 +02:00
2017-09-12 17:32:51 +02:00
2017-07-18 21:52:06 +02:00
2017-09-28 16:32:00 +01:00
2017-10-04 18:12:27 +02:00
2017-07-18 21:52:06 +02:00
2017-09-25 15:57:20 +01:00
2017-07-18 21:52:06 +02:00
2017-07-18 21:52:06 +02:00
2017-10-04 11:50:21 -04:00
2017-08-10 20:16:06 +02:00
2017-08-03 22:06:33 +02:00
2017-10-04 18:12:27 +02:00
2017-07-18 21:52:06 +02:00
2017-07-18 21:52:06 +02:00
2017-10-04 18:12:27 +02:00
2017-07-18 21:52:06 +02:00
2017-09-21 16:53:32 +02:00
2017-07-18 21:52:06 +02:00
2017-07-18 21:52:06 +02:00
2017-07-18 21:52:06 +02:00
2017-07-18 21:52:06 +02:00
2017-08-17 16:58:17 +02:00
2017-07-18 21:52:06 +02:00
2017-07-18 21:52:06 +02:00
2017-07-18 21:52:06 +02:00
2017-07-18 21:52:06 +02:00
2017-07-18 21:52:06 +02:00
2017-08-22 10:50:56 +02:00
2017-08-22 10:50:56 +02:00
2017-07-18 21:52:06 +02:00
2017-07-18 21:52:06 +02:00
2017-08-11 12:47:45 +02:00
2017-08-17 16:58:17 +02:00
2017-07-18 21:52:06 +02:00
2017-09-29 15:59:10 +02:00
2017-07-18 21:52:06 +02:00
2017-10-04 18:12:27 +02:00
2017-07-18 21:52:06 +02:00
2017-09-19 20:07:21 +02:00
2017-10-04 11:50:21 -04:00
2017-07-18 21:52:06 +02:00