aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--river/XdgToplevel.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/river/XdgToplevel.zig b/river/XdgToplevel.zig
index bd05465..96b618b 100644
--- a/river/XdgToplevel.zig
+++ b/river/XdgToplevel.zig
@@ -332,7 +332,7 @@ fn handleRequestMove(
) void {
const self = @fieldParentPtr(Self, "request_move", listener);
const seat = @intToPtr(*Seat, event.seat.seat.data);
- if (self.view.pending.float or self.view.output.current.layout == null)
+ if ((self.view.pending.float or self.view.output.current.layout == null) and !self.view.pending.fullscreen)
seat.cursor.enterMode(.move, self.view);
}
@@ -340,7 +340,7 @@ fn handleRequestMove(
fn handleRequestResize(listener: *wl.Listener(*wlr.XdgToplevel.event.Resize), event: *wlr.XdgToplevel.event.Resize) void {
const self = @fieldParentPtr(Self, "request_resize", listener);
const seat = @intToPtr(*Seat, event.seat.seat.data);
- if (self.view.pending.float or self.view.output.current.layout == null)
+ if ((self.view.pending.float or self.view.output.current.layout == null) and !self.view.pending.fullscreen)
seat.cursor.enterMode(.resize, self.view);
}