mirror of
https://github.com/labwc/labwc.git
synced 2026-04-12 08:21:13 -04:00
decorations: do not add a border to CSD windows on Undecorate
This commit is contained in:
parent
78c54ca9ad
commit
28fa65bede
1 changed files with 3 additions and 1 deletions
|
|
@ -812,7 +812,9 @@ actions_run(struct view *activator, struct server *server,
|
|||
if (view) {
|
||||
bool keep_border = action_get_bool(
|
||||
action, "keepBorder", rc.ssd_keep_border);
|
||||
if (keep_border) {
|
||||
if (!view->ssd_enabled) {
|
||||
/* do not add a border to CSD windows */
|
||||
} else if (keep_border) {
|
||||
view_set_decorations(view, LAB_SSD_MODE_BORDER);
|
||||
} else {
|
||||
view_set_decorations(view, LAB_SSD_MODE_NONE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue