mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
[Wayland] Fix window title update (#13396)
This commit is contained in:
parent
c0ed1e3367
commit
7d52d43667
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user