mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
xdg-deco: Respect decoration requests properly
Signed-off-by: Joshua Ashton <joshua@froggi.es>
This commit is contained in:
parent
60547cffe6
commit
89f09567f5
3 changed files with 25 additions and 8 deletions
|
|
@ -177,6 +177,15 @@ view_toggle_decorations(struct view *view)
|
|||
ssd_update_geometry(view, true);
|
||||
}
|
||||
|
||||
void
|
||||
view_set_decorations(struct view *view, bool decorations)
|
||||
{
|
||||
if (view->ssd.enabled != decorations) {
|
||||
view->ssd.enabled = decorations;
|
||||
ssd_update_geometry(view, true);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
view_toggle_fullscreen(struct view *view)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue