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

Bernhard Übelacker <bernha...@mailbox.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Product|konsole                     |kwin
           Assignee|konsole-de...@kde.org       |kwin-bugs-n...@kde.org
            Version|23.04.3                     |5.27.5
          Component|general                     |general

--- Comment #3 from Bernhard Übelacker <bernha...@mailbox.org> ---
Hello, I hope it is ok to change this bug to kwin.

Bottom line is:
kwin_x11 creates from this geometry {xp = 4, yp = 28, w = -8, h = -32} an event
with dimensions 65528 x 65504.

Would following modification be acceptable?
> --- kwin-5.27.5.orig/src/x11window.cpp
> +++ kwin-5.27.5/src/x11window.cpp
> @@ -3786,8 +3786,8 @@ void X11Window::sendSyntheticConfigureNo
> -    u.event.width = Xcb::toXNative(m_clientGeometry.width());
> -    u.event.height = Xcb::toXNative(m_clientGeometry.height());
> +    u.event.width = Xcb::toXNative(std::max(0.0, m_clientGeometry.width()));
> +    u.event.height = Xcb::toXNative(std::max(0.0, 
> m_clientGeometry.height()));

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

Reply via email to