Update Smithay, with Window that supports X11 surfaces
This commit is contained in:
parent
849882a7db
commit
3036448c19
24 changed files with 482 additions and 619 deletions
|
|
@ -843,10 +843,7 @@ impl SpaceElement for CosmicMapped {
|
|||
|
||||
impl X11Relatable for CosmicMapped {
|
||||
fn is_window(&self, window: &X11Surface) -> bool {
|
||||
match self.active_window() {
|
||||
CosmicSurface::X11(surface) => &surface == window,
|
||||
_ => false,
|
||||
}
|
||||
self.active_window().x11_surface() == Some(window)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue