1
0
Fork 0
forked from wry/wry

head-management: add compositor-space-info-v1 extension

This commit is contained in:
Julian Orth 2025-07-12 09:18:36 +02:00
parent 8356dd5d5c
commit 67acc6d938
11 changed files with 312 additions and 4 deletions

View file

@ -76,7 +76,10 @@ use {
},
ahash::AHashSet,
forker::ForkerProxy,
jay_config::{_private::DEFAULT_SEAT_NAME, video::GfxApi},
jay_config::{
_private::DEFAULT_SEAT_NAME,
video::{GfxApi, Transform},
},
std::{cell::Cell, env, future::Future, ops::Deref, rc::Rc, sync::Arc, time::Duration},
thiserror::Error,
uapi::c,
@ -637,7 +640,13 @@ fn create_dummy_output(state: &Rc<State>) {
let head_name = state.head_names.next();
let head_state = HeadState {
name: RcEq(name.clone()),
position: (0, 0),
size: (0, 0),
transform: Transform::None,
scale: Default::default(),
wl_output: None,
connector_enabled: true,
in_compositor_space: false,
monitor_info: None,
};
let connector_data = Rc::new(ConnectorData {