mirror of
https://github.com/2e3s/awatcher.git
synced 2025-06-07 03:55:29 +00:00
Clarify names
This commit is contained in:
parent
3dcc37e630
commit
ba52553ddf
@ -9,7 +9,7 @@ mod idle;
|
|||||||
mod kwin_window;
|
mod kwin_window;
|
||||||
mod wl_connection;
|
mod wl_connection;
|
||||||
mod wl_ext_idle_notify;
|
mod wl_ext_idle_notify;
|
||||||
mod wl_foreign_toplevel;
|
mod wl_foreign_toplevel_management;
|
||||||
mod wl_kwin_idle;
|
mod wl_kwin_idle;
|
||||||
mod x11_connection;
|
mod x11_connection;
|
||||||
mod x11_screensaver_idle;
|
mod x11_screensaver_idle;
|
||||||
@ -81,11 +81,11 @@ async fn filter_first_supported(
|
|||||||
WatcherType::Idle => {
|
WatcherType::Idle => {
|
||||||
watch!(create_watcher::<wl_ext_idle_notify::IdleWatcher>(
|
watch!(create_watcher::<wl_ext_idle_notify::IdleWatcher>(
|
||||||
client,
|
client,
|
||||||
"Wayland idle (ext_idle_notification_v1)"
|
"Wayland idle (ext-idle-notify-v1)"
|
||||||
));
|
));
|
||||||
watch!(create_watcher::<wl_kwin_idle::IdleWatcher>(
|
watch!(create_watcher::<wl_kwin_idle::IdleWatcher>(
|
||||||
client,
|
client,
|
||||||
"Wayland idle (KWin)"
|
"Wayland idle (KDE)"
|
||||||
));
|
));
|
||||||
watch!(create_watcher::<x11_screensaver_idle::IdleWatcher>(
|
watch!(create_watcher::<x11_screensaver_idle::IdleWatcher>(
|
||||||
client,
|
client,
|
||||||
@ -98,7 +98,9 @@ async fn filter_first_supported(
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
WatcherType::ActiveWindow => {
|
WatcherType::ActiveWindow => {
|
||||||
watch!(create_watcher::<wl_foreign_toplevel::WindowWatcher>(
|
watch!(create_watcher::<
|
||||||
|
wl_foreign_toplevel_management::WindowWatcher,
|
||||||
|
>(
|
||||||
client,
|
client,
|
||||||
"Wayland window (wlr-foreign-toplevel-management-unstable-v1)"
|
"Wayland window (wlr-foreign-toplevel-management-unstable-v1)"
|
||||||
));
|
));
|
||||||
|
@ -66,7 +66,7 @@ where
|
|||||||
self.globals
|
self.globals
|
||||||
.bind::<ZwlrForeignToplevelManagerV1, T, ()>(
|
.bind::<ZwlrForeignToplevelManagerV1, T, ()>(
|
||||||
&self.queue_handle,
|
&self.queue_handle,
|
||||||
1..=OrgKdeKwinIdle::interface().version,
|
1..=ZwlrForeignToplevelManagerV1::interface().version,
|
||||||
(),
|
(),
|
||||||
)
|
)
|
||||||
.map_err(std::convert::Into::into)
|
.map_err(std::convert::Into::into)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user