1
0
Fork 0
forked from wry/wry

wayland: implement xwayland_shell_v1

This commit is contained in:
Julian Orth 2022-10-16 21:14:12 +02:00
parent 1f64fefc86
commit 335677bbcd
11 changed files with 332 additions and 7 deletions

View file

@ -117,6 +117,7 @@ pub struct XwindowData {
pub window_id: u32,
pub client: Rc<Client>,
pub surface_id: Cell<Option<WlSurfaceId>>,
pub surface_serial: Cell<Option<u64>>,
pub window: CloneCell<Option<Rc<Xwindow>>>,
pub info: XwindowInfo,
pub children: CopyHashMap<u32, Rc<XwindowData>>,
@ -152,6 +153,7 @@ impl XwindowData {
window_id: event.window,
client: client.clone(),
surface_id: Cell::new(None),
surface_serial: Cell::new(None),
window: Default::default(),
info: XwindowInfo {
override_redirect: Cell::new(event.override_redirect != 0),