1
0
Fork 0
forked from wry/wry

wayland: implement ext-idle-notifier

This commit is contained in:
Julian Orth 2024-02-15 22:47:34 +01:00
parent 01e3930ced
commit 9a024fe72c
9 changed files with 287 additions and 3 deletions

View file

@ -4,6 +4,7 @@ use {
client::Client,
ifs::{
ext_foreign_toplevel_list_v1::ExtForeignToplevelListV1Global,
ext_idle_notifier_v1::ExtIdleNotifierV1Global,
ext_session_lock_manager_v1::ExtSessionLockManagerV1Global,
ipc::{
wl_data_device_manager::WlDataDeviceManagerGlobal,
@ -167,6 +168,7 @@ impl Globals {
add_singleton!(XdgActivationV1Global);
add_singleton!(ExtForeignToplevelListV1Global);
add_singleton!(ZwpIdleInhibitManagerV1Global);
add_singleton!(ExtIdleNotifierV1Global);
}
pub fn add_backend_singletons(&self, backend: &Rc<dyn Backend>) {