From 7bdcef51b794e6791f9a89df41a22e9f555ffe58 Mon Sep 17 00:00:00 2001 From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Fri, 1 Jul 2022 20:42:09 +0200 Subject: [PATCH] src/view.c: Prevent SnapToEdge while in fullscreen --- src/view.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/view.c b/src/view.c index 192e02c4..44349cfd 100644 --- a/src/view.c +++ b/src/view.c @@ -660,6 +660,9 @@ view_snap_to_edge(struct view *view, const char *direction) wlr_log(WLR_ERROR, "no view"); return; } + if (view->fullscreen) { + return; + } struct output *output = view_output(view); if (!output) { wlr_log(WLR_ERROR, "no output");