]> git.mdlowis.com Git - proto/labwc.git/commitdiff
src/view.c: dont switch output on SnapToEdge if view is maximized
authorFlrian <4444593+Flrian@users.noreply.github.com>
Sat, 10 Dec 2022 22:39:38 +0000 (23:39 +0100)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Sat, 10 Dec 2022 22:55:49 +0000 (23:55 +0100)
src/view.c

index cd24313705cd76d1670ab2dc576907fed379f834..058d09aec46977dd13e135451ed66420b3638a08 100644 (file)
@@ -821,7 +821,7 @@ view_snap_to_edge(struct view *view, const char *direction,
                return;
        }
 
-       if (view->tiled == edge) {
+       if (view->tiled == edge && !view->maximized) {
                /* We are already tiled for this edge and thus should switch outputs */
                struct wlr_output *new_output = NULL;
                struct wlr_output *current_output = output->wlr_output;