From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Fri, 1 Jul 2022 18:44:40 +0000 (+0200) Subject: src/view.c: Unmaximize on SnapToEdge X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=02595eefaaf16beee2d8b933d0f70c56481a6e6f;p=proto%2Flabwc.git src/view.c: Unmaximize on SnapToEdge --- diff --git a/src/view.c b/src/view.c index 44349cfd..53d61628 100644 --- a/src/view.c +++ b/src/view.c @@ -709,6 +709,10 @@ view_snap_to_edge(struct view *view, const char *direction) } } + if (view->maximized) { + view_maximize(view, false); + } + /* TODO: store old geometry if !maximized && !fullscreen && !tiled */ view->tiled = edge; view_apply_tiled_geometry(view, output);