mirror of
https://github.com/labwc/labwc.git
synced 2025-11-12 13:30:11 -05:00
feat: add Shade/Unshade/ToggleShade actions
This builds on the work of @Consolatis in #1018. Co-authored-by: Consolatis <35009135+Consolatis@users.noreply.github.com> Co-authored-by: Andrew J. Hesford <ajh@sideband.org>
This commit is contained in:
parent
722a802de0
commit
e05bedb140
19 changed files with 218 additions and 47 deletions
|
|
@ -109,7 +109,7 @@ ssd_extents_update(struct ssd *ssd)
|
|||
struct theme *theme = view->server->theme;
|
||||
|
||||
int width = view->current.width;
|
||||
int height = view->current.height;
|
||||
int height = view_effective_height(view, /* use_pending */ false);
|
||||
int full_height = height + theme->border_width * 2 + ssd->titlebar.height;
|
||||
int full_width = width + 2 * theme->border_width;
|
||||
int extended_area = SSD_EXTENDED_AREA;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue