Set app id.

This commit is contained in:
Bartosz Taudul 2022-11-06 01:33:15 +01:00
parent 1ccc0c39ea
commit 9645998a97
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -164,6 +164,7 @@ Backend::Backend( const char* title, std::function<void()> redraw, RunQueue* mai
s_toplevel = xdg_surface_get_toplevel( s_xdgSurf ); s_toplevel = xdg_surface_get_toplevel( s_xdgSurf );
xdg_toplevel_add_listener( s_toplevel, &toplevelListener, nullptr ); xdg_toplevel_add_listener( s_toplevel, &toplevelListener, nullptr );
xdg_toplevel_set_title( s_toplevel, title ); xdg_toplevel_set_title( s_toplevel, title );
xdg_toplevel_set_app_id( s_toplevel, "tracy" );
ImGuiIO& io = ImGui::GetIO(); ImGuiIO& io = ImGui::GetIO();
io.BackendPlatformName = "wayland (tracy profiler)"; io.BackendPlatformName = "wayland (tracy profiler)";