mirror of
https://github.com/labwc/labwc.git
synced 2026-03-11 05:33:49 -04:00
src/view.c: dont switch output on SnapToEdge if view is maximized
This commit is contained in:
parent
7cc80b7a99
commit
e4aa7cef76
1 changed files with 1 additions and 1 deletions
|
|
@ -821,7 +821,7 @@ view_snap_to_edge(struct view *view, const char *direction,
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (view->tiled == edge) {
|
if (view->tiled == edge && !view->maximized) {
|
||||||
/* We are already tiled for this edge and thus should switch outputs */
|
/* We are already tiled for this edge and thus should switch outputs */
|
||||||
struct wlr_output *new_output = NULL;
|
struct wlr_output *new_output = NULL;
|
||||||
struct wlr_output *current_output = output->wlr_output;
|
struct wlr_output *current_output = output->wlr_output;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue