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> {
|
||||
match self {
|
||||
CosmicSurface::Wayland(window) => window.toplevel().send_pending_configure(),
|
||||
CosmicSurface::X11(surface) => {
|
||||
let _ = surface.configure(None);
|
||||
None
|
||||
}
|
||||
CosmicSurface::X11(_) => None,
|
||||
_ => unreachable!(),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue