wayland: Force decoration update
If the client had created an xdg-toplevel-decoration and has called the set_mode() request with csd before the initial configure event is sent, we still need to send an xdg-toplevel-decoration configure event with csd mode.
This commit is contained in:
parent
9e5cb836a3
commit
a3e192837b
1 changed files with 3 additions and 1 deletions
|
@ -1192,7 +1192,9 @@ void XdgToplevelClient::initialize()
|
|||
{
|
||||
bool needsPlacement = isPlaceable();
|
||||
|
||||
updateDecoration(false, false);
|
||||
// Decoration update is forced so an xdg_toplevel_decoration.configure event
|
||||
// is sent if the client has called the set_mode() request with csd mode.
|
||||
updateDecoration(false, true);
|
||||
|
||||
if (supportsWindowRules()) {
|
||||
setupWindowRules(false);
|
||||
|
|
Loading…
Reference in a new issue