https://bugs.kde.org/show_bug.cgi?id=443705

Vlad Zahorodnii <vlad.zahorod...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kwin/commit/ff3465a80e49 |ma/kwin/commit/65b878f6dfdb
                   |da9537d4b4990605fe144112f07 |9ab73aee50a31ce05ed4cef9788
                   |0                           |0

--- Comment #21 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit 65b878f6dfdb9ab73aee50a31ce05ed4cef97880 by Vlad Zahorodnii.
Committed on 15/10/2021 at 05:39.
Pushed by vladz into branch 'Plasma/5.23'.

Fix AbstractClient::adjustedSize() for wayland windows with no committed buffer

AbstractClient::constrainClientSize() forces the minimum client size of
1x1.

If AbstractClient::adjustedSize() is called before the XdgToplevelClient
is mapped, it will return 1x1 rather than 0x0 as expected, which will
confuse

    QSize s = adjustedSize();
    if (s != size() && s.isValid())
        resizeWithChecks(s);

in AbstractClient::applyWindowRules(). Since 1x1 is different from 0x0,
the xdg-toplevel surface is going to be resized to 1x1.


(cherry picked from commit ff3465a80e49da9537d4b4990605fe144112f070)

M  +6    -1    src/abstract_client.cpp

https://invent.kde.org/plasma/kwin/commit/65b878f6dfdb9ab73aee50a31ce05ed4cef97880

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to