1
0
Fork 0
forked from wry/wry

wayland: implement wp_content_type_manager_v1

This commit is contained in:
Julian Orth 2024-02-08 15:15:41 +01:00
parent 2ac3d09c0b
commit d5d141d42d
7 changed files with 229 additions and 0 deletions

View file

@ -20,6 +20,7 @@ use {
wl_shm::WlShmGlobal,
wl_subcompositor::WlSubcompositorGlobal,
wl_surface::xwayland_shell_v1::XwaylandShellV1Global,
wp_content_type_manager_v1::WpContentTypeManagerV1Global,
wp_cursor_shape_manager_v1::WpCursorShapeManagerV1Global,
wp_fractional_scale_manager_v1::WpFractionalScaleManagerV1Global,
wp_presentation::WpPresentationGlobal,
@ -160,6 +161,7 @@ impl Globals {
add_singleton!(WpTearingControlManagerV1Global);
add_singleton!(WpSinglePixelBufferManagerV1Global);
add_singleton!(WpCursorShapeManagerV1Global);
add_singleton!(WpContentTypeManagerV1Global);
}
pub fn add_backend_singletons(&self, backend: &Rc<dyn Backend>) {