3434
3535#define SPLASH_SHM_NAME "retroarch-wayland-vk-splash"
3636
37- #define WINDOW_TITLE "RetroArch"
37+ #define DEFAULT_WINDOW_TITLE "RetroArch"
3838
3939#ifdef HAVE_LIBDECOR_H
4040#include <libdecor.h>
@@ -877,7 +877,7 @@ bool gfx_ctx_wl_init_common(
877877 }
878878
879879 wl -> libdecor_frame_set_app_id (wl -> libdecor_frame , WAYLAND_APP_ID );
880- wl -> libdecor_frame_set_title (wl -> libdecor_frame , WINDOW_TITLE );
880+ wl -> libdecor_frame_set_title (wl -> libdecor_frame , DEFAULT_WINDOW_TITLE );
881881 wl -> libdecor_frame_map (wl -> libdecor_frame );
882882
883883 /* Waiting for libdecor to be configured before starting to draw */
@@ -903,7 +903,7 @@ bool gfx_ctx_wl_init_common(
903903 xdg_toplevel_add_listener (wl -> xdg_toplevel , & toplevel_listener -> xdg_toplevel_listener , wl );
904904
905905 xdg_toplevel_set_app_id (wl -> xdg_toplevel , WAYLAND_APP_ID );
906- xdg_toplevel_set_title (wl -> xdg_toplevel , WINDOW_TITLE );
906+ xdg_toplevel_set_title (wl -> xdg_toplevel , DEFAULT_WINDOW_TITLE );
907907
908908 if (wl -> deco_manager )
909909 wl -> deco = zxdg_decoration_manager_v1_get_toplevel_decoration (
@@ -915,9 +915,9 @@ bool gfx_ctx_wl_init_common(
915915 if (wl -> xdg_toplevel_tag_manager )
916916 {
917917 xdg_toplevel_tag_manager_v1_set_toplevel_tag (
918- wl -> xdg_toplevel_tag_manager , wl -> xdg_toplevel , WAYLAND_APP_ID );
918+ wl -> xdg_toplevel_tag_manager , wl -> xdg_toplevel , "main window" );
919919 xdg_toplevel_tag_manager_v1_set_toplevel_description (
920- wl -> xdg_toplevel_tag_manager , wl -> xdg_toplevel , WINDOW_TITLE );
920+ wl -> xdg_toplevel_tag_manager , wl -> xdg_toplevel , DEFAULT_WINDOW_TITLE " main window" );
921921 }
922922
923923 /* Waiting for xdg_toplevel to be configured before starting to draw */
0 commit comments