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

Stefan Becker <chemob...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kscreen/commit/0270a4932
                   |                            |8aa70b14dd08e2ed5a425ca3f8e
                   |                            |4fd5
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #19 from Stefan Becker <chemob...@gmail.com> ---
Git commit 0270a49328aa70b14dd08e2ed5a425ca3f8e4fd5 by Stefan Becker.
Committed on 30/05/2022 at 04:23.
Pushed by davidedmundson into branch 'master'.

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().

M  +8    -9    kded/daemon.cpp

https://invent.kde.org/plasma/kscreen/commit/0270a49328aa70b14dd08e2ed5a425ca3f8e4fd5

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

Reply via email to