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/0270a4932 |ma/kscreen/commit/d7e60e197
                   |8aa70b14dd08e2ed5a425ca3f8e |bdcdf645197881d3f2e4da0cf45
                   |4fd5                        |57f4

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

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/d7e60e197bdcdf645197881d3f2e4da0cf4557f4

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

Reply via email to