mirror of
https://github.com/labwc/labwc.git
synced 2026-02-14 04:28:07 -05:00
parent
95dc4ac4b5
commit
c4d12bf5d9
3 changed files with 30 additions and 0 deletions
|
|
@ -2207,6 +2207,10 @@ view_set_shade(struct view *view, bool shaded)
|
|||
view->shaded = shaded;
|
||||
ssd_enable_shade(view->ssd, view->shaded);
|
||||
wlr_scene_node_set_enabled(view->scene_node, !view->shaded);
|
||||
|
||||
if (view->impl->shade) {
|
||||
view->impl->shade(view, shaded);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue