@@ -605,6 +605,8 @@ static void registryHandleGlobal(void* data UNUSED,
605605 }
606606 else if (is (xdg_system_bell_v1 )) {
607607 _glfw .wl .xdg_system_bell_v1 = wl_registry_bind (registry , name , & xdg_system_bell_v1_interface , 1 );
608+ } else if (is (xdg_toplevel_tag_manager_v1 )) {
609+ _glfw .wl .xdg_toplevel_tag_manager_v1 = wl_registry_bind (registry , name , & xdg_toplevel_tag_manager_v1_interface , 1 );
608610 }
609611#undef is
610612}
@@ -716,6 +718,7 @@ get_compositor_missing_capabilities(void) {
716718 C (cursor_shape , wp_cursor_shape_manager_v1 ); C (layer_shell , zwlr_layer_shell_v1 );
717719 C (single_pixel_buffer , wp_single_pixel_buffer_manager_v1 ); C (preferred_scale , has_preferred_buffer_scale );
718720 C (idle_inhibit , idle_inhibit_manager ); C (icon , xdg_toplevel_icon_manager_v1 ); C (bell , xdg_system_bell_v1 );
721+ C (window - tag , xdg_toplevel_tag_manager_v1 );
719722 if (_glfw .wl .xdg_wm_base_version < 6 ) p += snprintf (p , sizeof (buf ) - (p - buf ), "%s " , "window-state-suspended" );
720723 if (_glfw .wl .xdg_wm_base_version < 5 ) p += snprintf (p , sizeof (buf ) - (p - buf ), "%s " , "window-capabilities" );
721724#undef C
@@ -894,6 +897,8 @@ void _glfwPlatformTerminate(void)
894897 xdg_toplevel_icon_manager_v1_destroy (_glfw .wl .xdg_toplevel_icon_manager_v1 );
895898 if (_glfw .wl .xdg_system_bell_v1 )
896899 xdg_system_bell_v1_destroy (_glfw .wl .xdg_system_bell_v1 );
900+ if (_glfw .wl .xdg_toplevel_tag_manager_v1 )
901+ xdg_toplevel_tag_manager_v1_destroy (_glfw .wl .xdg_toplevel_tag_manager_v1 );
897902 if (_glfw .wl .wp_single_pixel_buffer_manager_v1 )
898903 wp_single_pixel_buffer_manager_v1_destroy (_glfw .wl .wp_single_pixel_buffer_manager_v1 );
899904 if (_glfw .wl .wp_cursor_shape_manager_v1 )
0 commit comments