mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -05:00
view/ssd: Move ssd->enabled to view->ssd_enabled
This commit is contained in:
parent
c536ee9d96
commit
56f8837ca6
6 changed files with 9 additions and 9 deletions
|
|
@ -16,7 +16,7 @@
|
|||
struct border
|
||||
ssd_thickness(struct view *view)
|
||||
{
|
||||
if (!view->ssd.enabled) {
|
||||
if (!view->ssd_enabled) {
|
||||
struct border border = { 0 };
|
||||
return border;
|
||||
}
|
||||
|
|
@ -172,7 +172,7 @@ ssd_update_geometry(struct view *view)
|
|||
return;
|
||||
}
|
||||
|
||||
if (!view->ssd.enabled) {
|
||||
if (!view->ssd_enabled) {
|
||||
if (view->ssd.tree && view->ssd.tree->node.enabled) {
|
||||
wlr_scene_node_set_enabled(&view->ssd.tree->node, false);
|
||||
view->ssd.margin = ssd_thickness(view);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue