mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
view/ssd: Move view->margin to view->ssd.margin
This commit is contained in:
parent
e79c95489a
commit
c536ee9d96
6 changed files with 26 additions and 26 deletions
|
|
@ -117,6 +117,13 @@ struct ssd {
|
|||
struct ssd_sub_tree active;
|
||||
struct ssd_sub_tree inactive;
|
||||
} border;
|
||||
|
||||
/*
|
||||
* Space between the extremities of the view's wlr_surface
|
||||
* and the max extents of the server-side decorations.
|
||||
* For xdg-shell views with CSD, this margin is zero.
|
||||
*/
|
||||
struct border margin;
|
||||
};
|
||||
|
||||
struct ssd_part {
|
||||
|
|
|
|||
|
|
@ -59,13 +59,6 @@ struct view {
|
|||
/* user defined geometry before maximize / tiling / fullscreen */
|
||||
struct wlr_box natural_geometry;
|
||||
|
||||
/*
|
||||
* margin refers to the space between the extremities of the
|
||||
* wlr_surface and the max extents of the server-side decorations.
|
||||
* For xdg-shell views with CSD, this margin is zero.
|
||||
*/
|
||||
struct border margin;
|
||||
|
||||
struct view_pending_move_resize {
|
||||
bool update_x, update_y;
|
||||
int x, y;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue