1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-07-01 18:51:04 +02:00

feat: wlroots-agnostic support for launcher module

This commit is contained in:
Jake Stanger 2022-10-10 20:15:24 +01:00
parent bb4fe7f7f5
commit b1c66b9117
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61
7 changed files with 172 additions and 247 deletions

View file

@ -47,10 +47,10 @@ impl Module<gtk::Box> for FocusedModule {
.expect("Failed to get read lock on toplevels")
.clone();
toplevels.into_iter().find(|top| top.active)
toplevels.into_iter().find(|(top, _)| top.active)
});
if let Some(top) = focused {
if let Some((top, _)) = focused {
tx.try_send(ModuleUpdateEvent::Update((
top.title.clone(),
top.app_id