mirror of
https://github.com/labwc/labwc.git
synced 2025-11-01 22:58:47 -04:00
decorations: fix handling of SSD/non-SSD windows
Fixup 41a3b68846
Fixes #1841
This commit is contained in:
parent
8ce8e93d00
commit
95e4c0d8d7
1 changed files with 1 additions and 1 deletions
|
|
@ -1254,7 +1254,7 @@ view_set_decorations(struct view *view, enum ssd_mode mode, bool force_ssd)
|
||||||
{
|
{
|
||||||
assert(view);
|
assert(view);
|
||||||
|
|
||||||
if (force_ssd || !view_wants_decorations(view)
|
if (force_ssd || view_wants_decorations(view)
|
||||||
|| mode < view_get_ssd_mode(view)) {
|
|| mode < view_get_ssd_mode(view)) {
|
||||||
view_set_ssd_mode(view, mode);
|
view_set_ssd_mode(view, mode);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue