mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
src/ssd/ssd.c: Keep view->margin in sync when toggling decorations
Fixes #409
This commit is contained in:
parent
ef3dbbf29a
commit
09915b8f43
5 changed files with 8 additions and 19 deletions
|
|
@ -298,7 +298,6 @@ xdg_toplevel_view_map(struct view *view)
|
|||
|
||||
view->ssd.enabled = has_ssd(view);
|
||||
if (view->ssd.enabled) {
|
||||
view->margin = ssd_thickness(view);
|
||||
ssd_create(view);
|
||||
}
|
||||
|
||||
|
|
@ -311,7 +310,6 @@ xdg_toplevel_view_map(struct view *view)
|
|||
}
|
||||
|
||||
view_discover_output(view);
|
||||
|
||||
view->been_mapped = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue