Implement the focus stack

This commit is contained in:
Isaac Freund
2020-04-13 21:00:18 +02:00
parent 3cb52c4898
commit 8bfca48991
7 changed files with 186 additions and 147 deletions

View File

@ -273,7 +273,7 @@ pub const Cursor = struct {
} else {
// Focus that client if the button was _pressed_
if (view) |v| {
v.focus(surface.?);
cursor.seat.focus(v);
}
}
}