update smithay, iced; reworked window for xwayland
This commit is contained in:
parent
47dfc85314
commit
7992ad67f6
27 changed files with 2285 additions and 1106 deletions
|
|
@ -46,7 +46,7 @@ use smithay::{
|
|||
wayland_server::{protocol::wl_surface::WlSurface, DisplayHandle, Resource},
|
||||
},
|
||||
utils::{DeviceFd, Size, Transform},
|
||||
wayland::dmabuf::DmabufGlobal,
|
||||
wayland::{dmabuf::DmabufGlobal, seat::WaylandFocus},
|
||||
};
|
||||
|
||||
use std::{
|
||||
|
|
@ -787,7 +787,7 @@ fn render_node_for_output(
|
|||
.unwrap_or_else(|| workspace.windows().collect::<Vec<_>>())
|
||||
.into_iter()
|
||||
.flat_map(|w| {
|
||||
dh.get_client(w.toplevel().wl_surface().id())
|
||||
dh.get_client(w.wl_surface()?.id())
|
||||
.ok()?
|
||||
.get_data::<ClientState>()
|
||||
.unwrap()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue