autocommit 2022-02-05 18:25:58 CET
This commit is contained in:
parent
3a4ae99b9a
commit
5eb9186c54
16 changed files with 90 additions and 184 deletions
|
|
@ -3,7 +3,7 @@ mod types;
|
|||
use crate::backend::Output;
|
||||
use crate::client::{Client, ClientId, DynEventFormatter, WlEvent};
|
||||
use crate::globals::{Global, GlobalName};
|
||||
use crate::object::{Interface, Object};
|
||||
use crate::object::Object;
|
||||
use crate::utils::buffd::MsgParser;
|
||||
use ahash::AHashMap;
|
||||
use std::cell::{Cell, RefCell};
|
||||
|
|
@ -136,21 +136,13 @@ impl WlOutputGlobal {
|
|||
}
|
||||
}
|
||||
|
||||
bind!(WlOutputGlobal);
|
||||
global_base!(WlOutputGlobal, WlOutput, WlOutputError);
|
||||
|
||||
impl Global for WlOutputGlobal {
|
||||
fn name(&self) -> GlobalName {
|
||||
self.name
|
||||
}
|
||||
|
||||
fn singleton(&self) -> bool {
|
||||
false
|
||||
}
|
||||
|
||||
fn interface(&self) -> Interface {
|
||||
Interface::WlOutput
|
||||
}
|
||||
|
||||
fn version(&self) -> u32 {
|
||||
3
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue