Skip to content
Commit 76a33c90 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

wayland: Fix Qt clients not being maximized initially

Currently, Qt clients send two maximize requests separated by the
initial commit. From spec's perspective, this is totally fine, the
client should receive two configure events with "maximized" state.

But because changeMaximize() in XdgToplevelClient and setMaximized()
operate on two different maximize modes, the second maximize request
will trick kwin into thinking that the client should be restored.


(cherry picked from commit a195223a)
parent 0109bdbb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment