mirror of
https://github.com/2e3s/awatcher.git
synced 2025-06-04 02:20:15 +00:00
Update watchers priorities
Make extension watcher to take precedence over X11 window watcher when available. This would make Gnome extension be activated correctly, when using XWayland.
This commit is contained in:
parent
d1e3540669
commit
bea3a4ac58
@ -110,15 +110,15 @@ async fn filter_first_supported(
|
||||
client,
|
||||
"KWin window (script)"
|
||||
));
|
||||
watch!(create_watcher::<x11_window::WindowWatcher>(
|
||||
client,
|
||||
"X11 window"
|
||||
));
|
||||
#[cfg(feature = "gnome")]
|
||||
watch!(create_watcher::<gnome_window::WindowWatcher>(
|
||||
client,
|
||||
"Gnome window (extension)"
|
||||
));
|
||||
watch!(create_watcher::<x11_window::WindowWatcher>(
|
||||
client,
|
||||
"X11 window"
|
||||
));
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user