mirror of
https://github.com/MezzalunaWM/Mezzaluna.git
synced 2026-03-07 19:49:53 -05:00
views shouldn't be focusing themselves, that's the job of the focus...
function
This commit is contained in:
parent
f639a2f94e
commit
6b4e6dce6d
1 changed files with 0 additions and 7 deletions
|
|
@ -147,13 +147,6 @@ fn handleMap(listener: *wl.Listener(void)) void {
|
||||||
view.xdg_toplevel.events.set_title.add(&view.set_title);
|
view.xdg_toplevel.events.set_title.add(&view.set_title);
|
||||||
// view.xdg_toplevel.events.set_parent.add(&view.set_parent);
|
// view.xdg_toplevel.events.set_parent.add(&view.set_parent);
|
||||||
|
|
||||||
const xdg_surface = view.xdg_toplevel.base;
|
|
||||||
server.seat.wlr_seat.keyboardNotifyEnter(
|
|
||||||
xdg_surface.surface,
|
|
||||||
&server.seat.keyboard_group.wlr_group.keyboard.keycodes,
|
|
||||||
&server.seat.keyboard_group.wlr_group.keyboard.modifiers
|
|
||||||
);
|
|
||||||
|
|
||||||
view.mapped = true;
|
view.mapped = true;
|
||||||
server.events.exec("ViewMapPost", .{view.id});
|
server.events.exec("ViewMapPost", .{view.id});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue