summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-02-18 12:04:48 +0100
committerSimon Ser <contact@emersion.fr>2021-03-24 08:13:11 +0100
commit1b7dca27eb44eac9cb0a8d1463d968872c76f4d5 (patch)
tree0f9e1646b69b49017c6315173daa401581683e56 /hw
parent6c51818a0f55282cbe5a870f58ca82ca45ee472d (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.c5
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");