Files
qemu/ui
Marc-André Lureau 9bd4d3df63 ui/gtk: fix UI info precondition
dpy_get_ui_info() shouldn't be called if the underlying GPU doesn't
support it.

Before the assert() was added and the regression introduced, GTK code
used to get "zero" UI info, for ex with a simple VGA device. The assert
was added to prevent from calling when there are no console too. The
other display backend that calls dpy_get_ui_info() correctly checks that
pre-condition.

Calling dpy_set_ui_info() is "safe" in this case, it will simply return
an error that can be generally ignored.

Fixes: commit a92e7bb4c ("ui: add precondition for dpy_get_ui_info()")
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2023-10-03 15:09:57 +04:00
..
2023-06-27 17:08:56 +02:00
2021-12-21 10:50:22 +04:00
2021-12-21 10:50:22 +04:00
2023-06-27 17:08:56 +02:00
2023-06-27 17:08:56 +02:00
2023-10-03 15:09:57 +04:00
2022-05-03 15:52:37 +04:00
2019-08-16 13:31:52 +02:00
2023-08-31 19:47:43 +02:00
2023-08-31 19:47:43 +02:00
2022-03-14 15:16:16 +04:00
2022-11-08 10:23:06 +01:00
2022-11-08 10:23:06 +01:00
2023-08-31 19:47:43 +02:00
2021-01-23 15:55:07 -05:00
2023-06-05 20:48:34 +02:00
2023-03-13 22:57:39 +04:00