refactor(wayland): remove commented out code\
This commit is contained in:
@@ -20,25 +20,6 @@ use smithay::{
|
||||
wayland::shell::{self, kde::decoration::KdeDecorationHandler},
|
||||
};
|
||||
|
||||
// impl XdgDecorationHandler for WaylandState {
|
||||
// fn new_decoration(&mut self, toplevel: smithay::wayland::shell::xdg::ToplevelSurface) {
|
||||
// toplevel.with_pending_state(|state| {
|
||||
// state.decoration_mode = Some(Mode::ServerSide);
|
||||
// });
|
||||
// toplevel.send_configure();
|
||||
// }
|
||||
|
||||
// fn request_mode(
|
||||
// &mut self,
|
||||
// _toplevel: smithay::wayland::shell::xdg::ToplevelSurface,
|
||||
// _mode: smithay::reexports::wayland_protocols::xdg::decoration::zv1::server::zxdg_toplevel_decoration_v1::Mode,
|
||||
// ) {
|
||||
// }
|
||||
|
||||
// fn unset_mode(&mut self, _toplevel: smithay::wayland::shell::xdg::ToplevelSurface) {}
|
||||
// }
|
||||
// delegate_xdg_decoration!(WaylandState);
|
||||
|
||||
impl GlobalDispatch<ZxdgDecorationManagerV1, (), WaylandState> for WaylandState {
|
||||
fn bind(
|
||||
_state: &mut WaylandState,
|
||||
|
||||
Reference in New Issue
Block a user