Robert Mader
8cfbdb4313
wayland/surface: Add fallback for get_highest_output_scale
...
If we don't have a monitor for a surface - e.g. because the surface is
not mapped yet - return the highest scale of all outputs. This makes us
send a preferred scale before a client draws its first frame. The highest
scale is always correct in single monitor cases and arguably a good
option otherwise as scaling down usually looks better than scaling up.
Note that this is currently only used by the fractional scale protocol,
but will also be used for the core `send_preferred_scale()` once we
implement it.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3217 >
2024-02-13 12:42:13 +00:00
..
2023-02-13 15:34:24 +00:00
2021-12-22 16:22:08 +00:00
2023-11-04 01:12:11 +00:00
2024-02-13 12:36:26 +01:00
2023-08-30 08:48:23 +02:00
2024-02-13 12:36:26 +01:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2023-08-07 22:24:36 +00:00
2024-01-09 18:47:34 +00:00
2023-11-04 01:12:11 +00:00
2024-02-10 17:41:12 +00:00
2024-02-10 17:41:12 +00:00
2023-08-30 08:48:23 +02:00
2024-01-09 15:23:04 +00:00
2023-12-18 21:56:59 +00:00
2023-11-04 01:12:11 +00:00
2022-12-17 15:13:48 +01:00
2023-08-07 22:24:36 +00:00
2024-02-13 12:36:26 +01:00
2024-02-13 12:36:26 +01:00
2023-09-06 10:55:55 +00:00
2023-08-07 22:24:36 +00:00
2023-09-06 10:55:55 +00:00
2023-08-07 22:24:36 +00:00
2020-05-13 18:27:46 +02:00
2023-08-07 22:24:36 +00:00
2023-07-19 11:33:59 +00:00
2023-08-07 22:24:36 +00:00
2024-02-10 17:41:12 +00:00
2024-02-10 17:41:12 +00:00
2024-02-13 12:36:26 +01:00
2023-08-30 08:48:23 +02:00
2023-10-29 21:16:24 +00:00
2023-10-29 21:16:24 +00:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2023-11-04 01:12:11 +00:00
2023-08-30 08:48:23 +02:00
2023-11-04 01:12:11 +00:00
2023-08-30 08:48:23 +02:00
2023-12-06 16:01:36 +00:00
2023-08-26 20:19:22 +02:00
2019-11-21 15:02:27 +00:00
2023-08-07 22:24:36 +00:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2024-02-13 12:36:26 +01:00
2024-02-13 12:36:26 +01:00
2024-02-13 12:36:26 +01:00
2024-02-13 12:36:26 +01:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2023-08-30 16:46:14 +02:00
2023-08-30 08:48:23 +02:00
2024-02-13 12:36:26 +01:00
2023-11-03 11:27:52 +00:00
2023-11-04 01:12:11 +00:00
2023-08-07 22:24:36 +00:00
2023-11-04 01:12:11 +00:00
2023-08-07 22:24:36 +00:00
2023-11-04 01:12:11 +00:00
2023-08-07 22:24:36 +00:00
2023-08-30 08:48:23 +02:00
2023-08-07 22:24:36 +00:00
2024-02-13 12:36:27 +01:00
2024-02-13 12:36:26 +01:00
2024-02-13 12:36:26 +01:00
2024-02-13 12:36:26 +01:00
2023-08-30 08:48:23 +02:00
2023-11-04 01:12:11 +00:00
2023-11-04 01:12:11 +00:00
2023-11-03 11:27:52 +00:00
2023-11-03 11:27:52 +00:00
2024-02-13 12:36:26 +01:00
2024-02-13 12:36:26 +01:00
2023-11-15 10:55:21 +00:00
2023-08-30 16:46:14 +02:00
2024-02-10 17:41:12 +00:00
2024-02-10 17:41:12 +00:00
2023-11-15 10:55:21 +00:00
2023-11-08 09:47:57 +00:00
2024-02-10 17:41:12 +00:00
2024-02-13 12:42:13 +00:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2024-02-13 01:01:48 +01:00
2024-02-13 01:01:48 +01:00
2023-08-30 08:48:23 +02:00
2023-08-12 19:53:46 +00:00
2023-08-30 08:48:23 +02:00
2023-08-07 22:24:36 +00:00
2023-08-30 08:48:23 +02:00
2023-08-07 22:24:36 +00:00
2023-08-30 08:48:23 +02:00
2023-08-07 22:24:36 +00:00
2024-02-13 01:01:48 +01:00
2024-02-13 01:01:48 +01:00
2024-02-13 12:36:26 +01:00
2024-02-13 01:01:48 +01:00
2023-08-30 08:48:23 +02:00
2023-08-07 22:24:36 +00:00
2024-01-27 10:18:40 +00:00
2023-08-30 08:48:23 +02:00
2024-02-13 01:01:48 +01:00
2024-02-13 01:01:48 +01:00
2023-11-15 10:55:21 +00:00
2023-11-08 09:47:57 +00:00
2024-02-13 12:36:26 +01:00
2023-08-30 08:48:23 +02:00
2023-11-04 01:12:11 +00:00
2023-08-30 08:48:23 +02:00
2023-08-30 16:46:14 +02:00
2023-08-30 16:46:14 +02:00
2023-11-04 01:12:11 +00:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2023-08-30 08:48:23 +02:00
2024-02-13 12:36:26 +01:00
2023-08-30 08:48:23 +02:00
2024-02-13 12:36:26 +01:00
2024-02-13 12:36:26 +01:00
2024-01-10 13:58:18 +00:00
2023-08-30 16:46:14 +02:00
2024-01-10 13:58:18 +00:00
2023-08-07 22:24:36 +00:00
2023-08-30 08:48:23 +02:00
2024-02-13 12:36:26 +01:00
2024-02-13 12:36:26 +01:00
2023-08-30 08:48:23 +02:00
2023-10-09 07:36:52 +00:00
2023-08-30 16:46:14 +02:00
2023-08-30 08:48:23 +02:00
2024-01-12 14:39:17 +00:00
2023-08-30 08:48:23 +02:00