Jonas Ådahl
81b28a1d97
kms: Notify about privacy screen changes via predictions
...
When we change the privacy screen, we added a result listener to the KMS
update object to notify the upper layer about the privacy screen state
change. This was slightly awkward as one might have changed the state
multiple times for a single update, thus it was necessary to remove any
old result listeners to an update before adding a new one.
Doing this will not be possible when updates are fully async and managed
by the KMS impl device.
To handle this, instead make the post-commit prediction notify about
changes that happens in response to a successfully committed update. We
already predicted the new privacy screen state, so the necessary change
was to plumb the actual change into a callback which emits the signal if
there actually was a privacy screen change.
This will then be communicated via the same signal listener that already
listens to the 'resources-changed' signal.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2340 >
2022-07-25 11:02:35 +00:00
..
2018-11-06 17:17:36 +01:00
2014-05-19 15:09:23 -04:00
2022-01-03 10:48:29 +00:00
2022-01-25 15:47:03 +00:00
2022-01-14 09:16:09 +00:00
2022-06-13 18:38:50 +00:00
2022-01-25 15:47:03 +00:00
2022-04-29 18:58:38 +00:00
2020-11-27 15:14:34 +00:00
2022-01-17 09:48:51 +01:00
2021-10-18 14:36:15 +00:00
2022-01-17 10:39:13 +00:00
2021-01-28 20:33:01 +00:00
2022-04-19 07:58:31 +00:00
2022-06-02 08:59:13 +00:00
2022-07-01 16:13:18 +02:00
2021-01-22 16:47:08 +00:00
2022-03-04 18:13:45 +00:00
2022-03-04 18:13:45 +00:00
2021-11-26 14:30:27 +00:00
2021-11-26 14:30:27 +00:00
2021-11-26 14:30:27 +00:00
2021-03-12 15:09:45 +00:00
2022-07-21 21:03:18 +00:00
2021-12-22 16:22:08 +00:00
2021-07-07 21:03:25 +02:00
2022-01-03 19:24:36 +01:00
2022-06-02 08:59:13 +00:00
2022-04-29 19:35:35 +00:00
2022-01-25 15:47:03 +00:00
2022-04-29 19:35:35 +00:00
2021-10-18 17:33:33 +02:00
2022-04-29 19:35:35 +00:00
2021-07-07 21:03:26 +02:00
2022-04-29 19:35:35 +00:00
2022-04-29 19:35:35 +00:00
2022-06-02 08:59:13 +00:00
2021-07-07 21:03:26 +02:00
2021-09-20 15:37:59 +00:00
2022-03-30 12:06:52 +00:00
2022-07-14 22:29:56 +00:00
2020-11-27 15:14:34 +00:00
2020-11-27 15:14:34 +00:00
2022-03-04 23:12:24 +00:00
2020-11-27 15:14:34 +00:00
2020-11-27 15:14:34 +00:00
2021-03-04 17:39:08 +00:00
2021-03-04 17:39:08 +00:00
2022-07-25 11:02:35 +00:00
2022-07-25 11:02:35 +00:00
2022-01-25 15:47:03 +00:00
2022-07-25 11:02:35 +00:00
2022-07-25 11:02:35 +00:00
2022-04-19 07:58:31 +00:00
2022-07-25 11:02:35 +00:00
2022-07-25 11:02:35 +00:00
2022-01-25 15:47:03 +00:00
2022-06-10 17:49:07 +00:00
2021-01-22 16:47:08 +00:00
2021-07-07 21:03:25 +02:00
2021-03-12 15:09:45 +00:00
2022-05-03 21:45:19 +00:00
2021-01-22 16:47:08 +00:00
2022-07-25 11:02:35 +00:00
2022-07-25 11:02:35 +00:00
2022-01-25 15:47:03 +00:00
2022-01-25 15:47:03 +00:00
2022-01-25 15:47:03 +00:00
2022-01-25 15:47:03 +00:00
2022-01-25 15:47:03 +00:00
2021-01-22 16:47:08 +00:00
2022-06-03 06:55:28 +00:00
2022-06-10 17:49:07 +00:00
2022-07-25 11:02:35 +00:00
2022-01-25 15:47:03 +00:00
2022-07-25 11:02:35 +00:00
2022-07-25 11:02:35 +00:00
2022-06-10 17:49:07 +00:00
2022-06-10 17:49:07 +00:00
2022-01-25 15:47:03 +00:00
2021-07-13 08:09:42 +00:00
2021-07-13 08:09:42 +00:00
2022-07-25 11:02:35 +00:00
2022-01-25 15:47:03 +00:00
2022-01-24 18:09:44 +01:00
2022-01-14 09:16:09 +00:00
2022-07-25 11:02:35 +00:00
2021-03-12 15:09:45 +00:00
2022-04-04 17:36:37 +08:00
2022-06-02 08:59:13 +00:00
2022-07-25 11:02:35 +00:00
2021-03-12 15:09:45 +00:00
2021-03-12 15:09:45 +00:00
2021-03-12 15:09:45 +00:00
2021-03-12 15:09:45 +00:00
2021-03-12 15:09:45 +00:00
2022-07-06 19:27:20 +00:00
2022-06-13 18:38:50 +00:00
2021-10-18 17:33:32 +02:00
2021-10-18 17:33:32 +02:00
2021-10-18 17:35:26 +02:00
2021-10-18 17:33:33 +02:00
2021-10-18 17:35:26 +02:00
2021-10-18 17:33:32 +02:00
2021-10-18 17:33:32 +02:00
2021-10-18 17:36:17 +02:00
2021-10-18 17:36:17 +02:00
2020-08-29 09:10:31 +00:00
2018-11-19 22:53:13 +00:00
2021-12-22 16:22:08 +00:00
2022-04-20 09:30:04 +00:00
2021-10-20 13:08:06 +00:00
2022-07-14 22:29:56 +00:00
2022-07-14 22:29:56 +00:00
2022-02-08 14:34:47 +00:00
2021-09-20 15:37:59 +00:00
2021-07-16 19:08:06 +02:00
2021-07-16 19:08:06 +02:00
2022-01-14 09:16:09 +00:00
2022-01-14 09:16:09 +00:00
2022-07-14 22:29:56 +00:00
2019-08-24 08:59:08 +00:00
2022-03-04 18:13:45 +00:00
2021-03-12 15:09:45 +00:00
2020-11-27 15:14:34 +00:00
2020-11-27 15:14:34 +00:00