aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--river/command/focus_view.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/river/command/focus_view.zig b/river/command/focus_view.zig
index 3d7d1b8..134aa35 100644
--- a/river/command/focus_view.zig
+++ b/river/command/focus_view.zig
@@ -38,6 +38,9 @@ pub fn focusView(
const output = seat.focused_output;
if (seat.focused_view) |current_focus| {
+ // If the focused view is fullscreen, do nothing
+ if (current_focus.current.fullscreen) return;
+
// If there is a currently focused view, focus the next visible view in the stack.
const focused_node = @fieldParentPtr(ViewStack(View).Node, "view", current_focus);
var it = switch (direction) {