[kwin] [Bug 473602] Konsole crashing when coming back from sleep (upon switching computers on KVM)
Bernhard Übelacker
bugzilla_noreply at kde.org
Sun Sep 3 14:22:19 BST 2023
https://bugs.kde.org/show_bug.cgi?id=473602
Bernhard Übelacker <bernhardu at mailbox.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Product|konsole |kwin
Assignee|konsole-devel at kde.org |kwin-bugs-null at kde.org
Version|23.04.3 |5.27.5
Component|general |general
--- Comment #3 from Bernhard Übelacker <bernhardu at 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 the assignee for the bug.
More information about the konsole-devel
mailing list