console: allow con==NULL in dpy_{get, set}_ui_info and dpy_ui_info_supported
commit5c4b107f88ad2679817b73445fa706c62db4d8e0
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 8 Dec 2020 11:57:30 +0000 (8 12:57 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 11 Dec 2020 07:06:39 +0000 (11 08:06 +0100)
tree60271e02fa8e6bb0b895b6986acd4e0ffefb3d73
parentc7b22c0a7c48a048703802eb6534930f18b9e44c
console: allow con==NULL in dpy_{get, set}_ui_info and dpy_ui_info_supported

Use active_console in that case like we do in many other places.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20201208115737.18581-3-kraxel@redhat.com
ui/console.c