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

David Edmundson <k...@davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kscreen/commit/d7e60e197 |ma/kscreen/commit/93cfd2975
                   |bdcdf645197881d3f2e4da0cf45 |06e4106a7b6e7bcc649442c5bf0
                   |57f4                        |f7d1

--- Comment #21 from David Edmundson <k...@davidedmundson.co.uk> ---
Git commit 93cfd297506e4106a7b6e7bcc649442c5bf0f7d1 by David Edmundson, on
behalf of Stefan Becker.
Committed on 30/05/2022 at 07:58.
Pushed by davidedmundson into branch 'Plasma/5.24'.

X11: fix kded xcb resource leak

This fixes commit 579358f501ae978aa527a25eb3ef9dd42557db46

XOpenDisplay() internally calls xcb_connect(), creating a new XCB client
connection. This means that on every KScreen configuration change event
the kded5 process creates a new connection until XCB runs into the hard
limit of 256 of clients, leading to the dreaded "Maximum number of
clients reached" error.

Re-use the display from QX11Info instead of calling XOpenDisplay().


(cherry picked from commit 0270a49328aa70b14dd08e2ed5a425ca3f8e4fd5)

M  +8    -9    kded/daemon.cpp

https://invent.kde.org/plasma/kscreen/commit/93cfd297506e4106a7b6e7bcc649442c5bf0f7d1

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

Reply via email to