autocommit 2022-04-16 13:42:13 CEST
This commit is contained in:
parent
4826305236
commit
50b792db78
27 changed files with 217 additions and 60 deletions
|
|
@ -1040,7 +1040,13 @@ impl SizedNode for ContainerNode {
|
|||
self.parent.get().node_child_active_changed(self, active, 1);
|
||||
}
|
||||
|
||||
fn button(self: &Rc<Self>, seat: &Rc<WlSeatGlobal>, button: u32, state: KeyState) {
|
||||
fn button(
|
||||
self: &Rc<Self>,
|
||||
seat: &Rc<WlSeatGlobal>,
|
||||
button: u32,
|
||||
state: KeyState,
|
||||
_serial: u32,
|
||||
) {
|
||||
if button != BTN_LEFT {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -377,7 +377,13 @@ impl SizedNode for FloatNode {
|
|||
self.position.get()
|
||||
}
|
||||
|
||||
fn button(self: &Rc<Self>, seat: &Rc<WlSeatGlobal>, button: u32, state: KeyState) {
|
||||
fn button(
|
||||
self: &Rc<Self>,
|
||||
seat: &Rc<WlSeatGlobal>,
|
||||
button: u32,
|
||||
state: KeyState,
|
||||
_serial: u32,
|
||||
) {
|
||||
if button != BTN_LEFT {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue