diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2021-01-07 22:58:22 +0100 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2021-01-08 10:58:08 +0100 |
| commit | a029105f154f256f3f45a010b11e800a23380639 (patch) | |
| tree | e9e1bab97193fd91e19c9e0c74eb333925a08f0b | |
| parent | 7249f5c9c3f32462a675fc6888bc4dd5f1e83845 (diff) | |
| download | river-a029105f154f256f3f45a010b11e800a23380639.tar.gz river-a029105f154f256f3f45a010b11e800a23380639.tar.xz | |
cursor: focus output before view on follow cursor
| -rw-r--r-- | river/Cursor.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/river/Cursor.zig b/river/Cursor.zig index 0cc2b9a..ec470b3 100644 --- a/river/Cursor.zig +++ b/river/Cursor.zig @@ -536,8 +536,8 @@ fn passthrough(self: *Self, time: u32) void { const follow_mode = config.focus_follows_cursor; if (follow_mode == .strict or (follow_mode == .normal and focus_change)) { if (View.fromWlrSurface(surface)) |view| { - self.seat.focus(view); self.seat.focusOutput(view.output); + self.seat.focus(view); root.startTransaction(); } } |
