1
0
Fork 0
forked from wry/wry

head-management: add tearing-state-v1 extension

This commit is contained in:
Julian Orth 2025-07-13 13:51:08 +02:00
parent aaef75f9f3
commit 4482c3168b
10 changed files with 140 additions and 4 deletions

View file

@ -60,6 +60,8 @@ pub fn handle(state: &Rc<State>, connector: &Rc<dyn Connector>) {
inherent_non_desktop: false,
override_non_desktop: backend_state.non_desktop_override,
vrr: backend_state.vrr,
tearing_enabled: backend_state.tearing,
tearing_active: false,
};
let data = Rc::new(ConnectorData {
id,
@ -240,6 +242,7 @@ impl ConnectorHandler {
tray_items: Default::default(),
ext_workspace_groups: Default::default(),
pinned: Default::default(),
tearing: Default::default(),
});
on.update_visible();
on.update_rects();