mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
view: Hide decorations for fullscreen views
Otherwise the decorations are visible on adjacent outputs.
This commit is contained in:
parent
d6aea3e58f
commit
9dd55f0490
2 changed files with 16 additions and 4 deletions
|
|
@ -16,7 +16,11 @@
|
|||
struct border
|
||||
ssd_thickness(struct view *view)
|
||||
{
|
||||
if (!view->ssd_enabled) {
|
||||
/*
|
||||
* Check preconditions for displaying SSD. Note that this
|
||||
* needs to work even before ssd_create() has been called.
|
||||
*/
|
||||
if (!view->ssd_enabled || view->fullscreen) {
|
||||
return (struct border){ 0 };
|
||||
}
|
||||
struct theme *theme = view->server->theme;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue