diff options
Diffstat (limited to 'river/Cursor.zig')
| -rw-r--r-- | river/Cursor.zig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/river/Cursor.zig b/river/Cursor.zig index e74b300..f281876 100644 --- a/river/Cursor.zig +++ b/river/Cursor.zig @@ -909,6 +909,9 @@ pub fn checkFocusFollowsCursor(self: *Self) void { self.seat.focus(view); server.root.applyPending(); } + } else { + // The output doesn't contain any views, just focus the output. + self.updateOutputFocus(self.wlr_cursor.x, self.wlr_cursor.y); } } |
