config: add window-rule infrastructure
This commit is contained in:
parent
a6257910bb
commit
59f8acdfde
26 changed files with 1829 additions and 38 deletions
|
|
@ -18,6 +18,7 @@ use {
|
|||
criteria::{
|
||||
CritMatcherIds,
|
||||
clm::{ClMatcherManager, handle_cl_changes, handle_cl_leaf_events},
|
||||
tlm::{TlMatcherManager, handle_tl_changes, handle_tl_leaf_events},
|
||||
},
|
||||
damage::{DamageVisualizer, visualize_damage},
|
||||
dbus::Dbus,
|
||||
|
|
@ -299,6 +300,7 @@ fn start_compositor2(
|
|||
icons: Default::default(),
|
||||
show_pin_icon: Cell::new(false),
|
||||
cl_matcher_manager: ClMatcherManager::new(&crit_ids),
|
||||
tl_matcher_manager: TlMatcherManager::new(&crit_ids),
|
||||
});
|
||||
state.tracker.register(ClientId::from_raw(0));
|
||||
create_dummy_output(&state);
|
||||
|
|
@ -476,6 +478,11 @@ fn start_global_event_handlers(
|
|||
"cl matcher leaf events",
|
||||
handle_cl_leaf_events(state.clone()),
|
||||
),
|
||||
eng.spawn("tl matcher manager", handle_tl_changes(state.clone())),
|
||||
eng.spawn(
|
||||
"tl matcher leaf events",
|
||||
handle_tl_leaf_events(state.clone()),
|
||||
),
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue