fix: wayland stability

This commit is contained in:
Nova
2023-07-23 08:29:04 -04:00
parent bf89b73e8f
commit e682931e3e
3 changed files with 199 additions and 165 deletions

View File

@@ -88,9 +88,9 @@ impl KdeDecorationHandler for WaylandState {
&mut self,
_surface: &WlSurface,
decoration: &OrgKdeKwinServerDecoration,
_mode: WEnum<KdeMode>,
mode: WEnum<KdeMode>,
) {
decoration.mode(KdeMode::Server);
decoration.mode(mode.into_result().unwrap());
}
}
delegate_kde_decoration!(WaylandState);