1
0
Fork 0
forked from wry/wry

autocommit 2022-02-05 18:25:58 CET

This commit is contained in:
Julian Orth 2022-02-05 18:25:58 +01:00
parent 3a4ae99b9a
commit 5eb9186c54
16 changed files with 90 additions and 184 deletions

View file

@ -4,7 +4,7 @@ use crate::client::Client;
use crate::globals::{Global, GlobalName};
use crate::ifs::wl_surface::xdg_surface::{XdgSurface, XdgSurfaceId};
use crate::ifs::xdg_positioner::XdgPositioner;
use crate::object::{Interface, Object};
use crate::object::Object;
use crate::utils::buffd::MsgParser;
use crate::utils::copyhashmap::CopyHashMap;
use std::rc::Rc;
@ -111,21 +111,13 @@ impl XdgWmBase {
}
}
bind!(XdgWmBaseGlobal);
global_base!(XdgWmBaseGlobal, XdgWmBase, XdgWmBaseError);
impl Global for XdgWmBaseGlobal {
fn name(&self) -> GlobalName {
self.name
}
fn singleton(&self) -> bool {
true
}
fn interface(&self) -> Interface {
Interface::XdgWmBase
}
fn version(&self) -> u32 {
3
}