]> git.mdlowis.com Git - proto/labwc.git/commitdiff
src/view.c: Prevent SnapToEdge while in fullscreen
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Fri, 1 Jul 2022 18:42:09 +0000 (20:42 +0200)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sat, 2 Jul 2022 11:43:23 +0000 (12:43 +0100)
src/view.c

index 192e02c422aed09fff5ba36d30751fce9852c0eb..44349cfdf2f152f845a644a999bee4b9909d3204 100644 (file)
@@ -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");