Skip to content

Commit

Permalink
Show/hide modifications on surface modification (#3565)
Browse files Browse the repository at this point in the history
Fixes: #3559
  • Loading branch information
tarek-y-ismail authored Aug 22, 2024
2 parents a026b51 + f9a39a2 commit 8927b6e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/server/shell/abstract_shell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,18 @@ void msh::AbstractShell::modify_surface(std::shared_ptr<scene::Session> const& s
update_confinement_for(surface);
}
}

if (modifications.server_side_decorated.is_set())
{
if (modifications.server_side_decorated.value())
{
decoration_manager->decorate(surface);
}
else
{
decoration_manager->undecorate(surface);
}
}
}

void msh::AbstractShell::destroy_surface(
Expand Down

0 comments on commit 8927b6e

Please sign in to comment.