element: Don't send configure for X11 surfaces
This commit is contained in:
parent
daf7437c8b
commit
37623f063f
1 changed files with 1 additions and 4 deletions
|
|
@ -458,10 +458,7 @@ impl CosmicSurface {
|
||||||
pub fn send_configure(&self) -> Option<Serial> {
|
pub fn send_configure(&self) -> Option<Serial> {
|
||||||
match self {
|
match self {
|
||||||
CosmicSurface::Wayland(window) => window.toplevel().send_pending_configure(),
|
CosmicSurface::Wayland(window) => window.toplevel().send_pending_configure(),
|
||||||
CosmicSurface::X11(surface) => {
|
CosmicSurface::X11(_) => None,
|
||||||
let _ = surface.configure(None);
|
|
||||||
None
|
|
||||||
}
|
|
||||||
_ => unreachable!(),
|
_ => unreachable!(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue