diff options
author | Simon Ser <contact@emersion.fr> | 2021-02-18 12:04:48 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-03-24 08:13:11 +0100 |
commit | 1b7dca27eb44eac9cb0a8d1463d968872c76f4d5 (patch) | |
tree | 0f9e1646b69b49017c6315173daa401581683e56 /hw | |
parent | 6c51818a0f55282cbe5a870f58ca82ca45ee472d (diff) |
xwayland: remove wl_log_set_handler_client workaround
This bumps the minimum Wayland version to 1.5 (released in 2014).
Signed-off-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Martin Peres <martin.peres@mupuf.org>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/xwayland/xwayland.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/hw/xwayland/xwayland.c b/hw/xwayland/xwayland.c index b11e2020c..27fbdf28e 100644 --- a/hw/xwayland/xwayland.c +++ b/hw/xwayland/xwayland.c @@ -267,10 +267,7 @@ InitOutput(ScreenInfo * screen_info, int argc, char **argv) LoadExtensionList(xwayland_extensions, ARRAY_SIZE(xwayland_extensions), FALSE); - /* Cast away warning from missing printf annotation for - * wl_log_func_t. Wayland 1.5 will have the annotation, so we can - * remove the cast and require that when it's released. */ - wl_log_set_handler_client((void *) xwl_log_handler); + wl_log_set_handler_client(xwl_log_handler); if (AddScreen(xwl_screen_init, argc, argv) == -1) { FatalError("Couldn't add screen\n"); |