1
0
Fork 0
forked from wry/wry

config: add title window criteria

This commit is contained in:
Julian Orth 2025-05-01 18:22:33 +02:00
parent 2b5be7fbd9
commit 6ef7655dbd
14 changed files with 109 additions and 23 deletions

View file

@ -3,7 +3,7 @@ use {
client::{Client, ClientId},
criteria::{
CritDestroyListener, CritMatcherId,
tlm::{TL_CHANGED_DESTROYED, TL_CHANGED_NEW, TlMatcherChange},
tlm::{TL_CHANGED_DESTROYED, TL_CHANGED_NEW, TL_CHANGED_TITLE, TlMatcherChange},
},
ifs::{
ext_foreign_toplevel_handle_v1::ExtForeignToplevelHandleV1,
@ -92,6 +92,7 @@ impl<T: ToplevelNodeBase> ToplevelNode for T {
.clone_from(&title);
data.placeholder.tl_title_changed();
}
data.property_changed(TL_CHANGED_TITLE);
}
fn tl_set_parent(&self, parent: Rc<dyn ContainingNode>) {