1
0
Fork 0
forked from wry/wry

autocommit 2022-02-05 02:07:07 CET

This commit is contained in:
Julian Orth 2022-02-05 02:07:07 +01:00
parent 89bfd2ffcd
commit 2d8b3a200e
21 changed files with 328 additions and 87 deletions

View file

@ -1,5 +1,5 @@
use crate::backend::{KeyState, OutputId, ScrollAxis};
use crate::client::ClientId;
use crate::client::{Client, ClientId};
use crate::cursor::KnownCursor;
use crate::fixed::Fixed;
use crate::ifs::wl_output::WlOutputGlobal;
@ -169,9 +169,13 @@ pub trait Node {
let _ = ws;
}
fn client_id(&self) -> Option<ClientId> {
fn client(&self) -> Option<Rc<Client>> {
None
}
fn client_id(&self) -> Option<ClientId> {
self.client().map(|c| c.id)
}
}
pub struct FoundNode {