diff --git a/gfx/drivers_context/wayland_ctx.c b/gfx/drivers_context/wayland_ctx.c index 93d429d1e6..34f1c49a3c 100644 --- a/gfx/drivers_context/wayland_ctx.c +++ b/gfx/drivers_context/wayland_ctx.c @@ -249,13 +249,12 @@ static void gfx_ctx_wl_update_title(void *data) if (wl && title[0]) { if (wl->deco) - { - zxdg_toplevel_decoration_v1_set_mode(wl->deco, - ZXDG_TOPLEVEL_DECORATION_V1_MODE_SERVER_SIDE); - } + { + zxdg_toplevel_decoration_v1_set_mode(wl->deco, + ZXDG_TOPLEVEL_DECORATION_V1_MODE_SERVER_SIDE); } - xdg_toplevel_set_title(wl->xdg_toplevel, title); + } } static bool gfx_ctx_wl_get_metrics(void *data,