mirror of
https://github.com/MezzalunaWM/Mezzaluna.git
synced 2026-03-08 20:57:32 -04:00
lua position, size, focus and z-index (not really)
This commit is contained in:
parent
b45544c97a
commit
1eda05b7b3
14 changed files with 236 additions and 98 deletions
|
|
@ -73,15 +73,6 @@ pub fn focusOutput(self: *Seat, output: *Output) void {
|
|||
self.focused_output = output;
|
||||
}
|
||||
|
||||
// TODO: Should focusing a view, automaticall focus the output containing it
|
||||
pub fn focusView(self: *Seat, view: *View) void {
|
||||
if(self.focused_view) |prev_view| {
|
||||
prev_view.setFocus(false);
|
||||
}
|
||||
|
||||
self.focused_view = view;
|
||||
}
|
||||
|
||||
fn handleRequestSetCursor(
|
||||
_: *wl.Listener(*wlr.Seat.event.RequestSetCursor),
|
||||
event: *wlr.Seat.event.RequestSetCursor,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue