Re: [PATCH 1/9] console: allow con==NULL in dpy_set_ui_info

2020-12-04 Thread Marc-André Lureau
Hi On Thu, Dec 3, 2020 at 3:20 PM Gerd Hoffmann wrote: > Use active_console in that case like we do in many other places. > > Signed-off-by: Gerd Hoffmann > Why not do it for the remaining functions? At least dpy_get_ui_info() for consistency. --- > ui/console.c | 4 +++- > 1 file changed, 3

[PATCH 1/9] console: allow con==NULL in dpy_set_ui_info

2020-12-03 Thread Gerd Hoffmann
Use active_console in that case like we do in many other places. Signed-off-by: Gerd Hoffmann --- ui/console.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/console.c b/ui/console.c index 53dee8e26b17..16b326854080 100644 --- a/ui/console.c +++ b/ui/console.c @@ -1556