mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
src/view.c: Unmaximize on SnapToEdge
This commit is contained in:
parent
7bdcef51b7
commit
02595eefaa
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue