seat: after keymap change, only send keymap to focused surface
This commit is contained in:
parent
8d43eebc3d
commit
225995eb2f
5 changed files with 45 additions and 30 deletions
|
|
@ -1399,7 +1399,7 @@ impl Node for WlSurface {
|
|||
seat.scroll_surface(&self, event);
|
||||
}
|
||||
|
||||
fn node_on_focus(self: Rc<Self>, seat: &Rc<WlSeatGlobal>) {
|
||||
fn node_on_focus(self: Rc<Self>, seat: &WlSeatGlobal) {
|
||||
if let Some(tl) = self.toplevel.get() {
|
||||
tl.tl_data().focus_node.insert(seat.id(), self.clone());
|
||||
tl.tl_on_activate();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue