mirror of
https://github.com/labwc/labwc.git
synced 2026-02-10 04:27:47 -05:00
view.c: remember unmaximized geometry
This commit is contained in:
parent
3fe052222d
commit
be3fea0c1a
2 changed files with 11 additions and 15 deletions
|
|
@ -194,6 +194,9 @@ struct view {
|
|||
/* geometry of the wlr_surface contained within the view */
|
||||
int x, y, w, h;
|
||||
|
||||
/* geometry before maximize */
|
||||
struct wlr_box unmaximized_geometry;
|
||||
|
||||
/*
|
||||
* margin refers to the space between the extremities of the
|
||||
* wlr_surface and the max extents of the server-side decorations.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue