cursor: focus output before view on follow cursor
This commit is contained in:
parent
7249f5c9c3
commit
a029105f15
1 changed files with 1 additions and 1 deletions
|
@ -536,8 +536,8 @@ fn passthrough(self: *Self, time: u32) void {
|
||||||
const follow_mode = config.focus_follows_cursor;
|
const follow_mode = config.focus_follows_cursor;
|
||||||
if (follow_mode == .strict or (follow_mode == .normal and focus_change)) {
|
if (follow_mode == .strict or (follow_mode == .normal and focus_change)) {
|
||||||
if (View.fromWlrSurface(surface)) |view| {
|
if (View.fromWlrSurface(surface)) |view| {
|
||||||
self.seat.focus(view);
|
|
||||||
self.seat.focusOutput(view.output);
|
self.seat.focusOutput(view.output);
|
||||||
|
self.seat.focus(view);
|
||||||
root.startTransaction();
|
root.startTransaction();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue