autocommit 2022-04-27 20:37:49 CEST
This commit is contained in:
parent
57899b3f35
commit
324eb835bb
24 changed files with 478 additions and 68 deletions
|
|
@ -16,6 +16,7 @@ use {
|
|||
wl_seat::WlSeatGlobal,
|
||||
wl_shm::WlShmGlobal,
|
||||
wl_subcompositor::WlSubcompositorGlobal,
|
||||
wp_presentation::WpPresentationGlobal,
|
||||
xdg_wm_base::XdgWmBaseGlobal,
|
||||
zwlr_layer_shell_v1::ZwlrLayerShellV1Global,
|
||||
zwp_idle_inhibit_manager_v1::ZwpIdleInhibitManagerV1Global,
|
||||
|
|
@ -135,6 +136,10 @@ impl Globals {
|
|||
if backend.supports_idle() {
|
||||
add_singleton!(ZwpIdleInhibitManagerV1Global);
|
||||
}
|
||||
|
||||
if backend.supports_presentation_feedback() {
|
||||
add_singleton!(WpPresentationGlobal);
|
||||
}
|
||||
}
|
||||
|
||||
pub fn name(&self) -> GlobalName {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue