diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-08-30 13:38:06 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-09-04 14:00:21 +0400 |
commit | 5e5a30b7d17f207a85af167ba3efdeff2b1f61de (patch) | |
tree | 69b97d645fb87fe7182641535e62442993062e45 /page-vary.c | |
parent | 60cb14b4f9d94d750640f42e0f18a1710b8d6c1a (diff) |
ui/console: simplify getting active_console size
We can get the active console dimension regardless of its kind, by
simply giving NULL as argument. It will fallback with the given value
when the dimensions aren't known.
This will also allow to move the code in a separate unit more easily.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20230830093843.3531473-33-marcandre.lureau@redhat.com>
Diffstat (limited to 'page-vary.c')
0 files changed, 0 insertions, 0 deletions