[Interest] Window ID of the current screen (root window)?
rich at kde.org
Fri Nov 20 17:18:27 CET 2020
Digging back through the code, I can see that the XCB platform plugin
ensures that the Display * and the xcb_connection correspond to the same
display by opening them together using the same string (in Qt 5). Assuming
the same is done in the Qt 6 plugin then exposing them again through
QX11Info would be just the same as in Qt 5.
On Fri, 20 Nov 2020 at 14:18, Giuseppe D'Angelo via Interest <
interest at qt-project.org> wrote:
> Il 20/11/20 14:55, Richard Moore ha scritto:
> > I'd hope there's a way to get the actual connection being used, rather
> > than relying on looking at the environment variables. For example, what
> > happens if -display is passed?
> As in QX11Info::connection()?
> Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
> KDAB (France) S.A.S., a KDAB Group company
> Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
> KDAB - The Qt, C++ and OpenGL Experts
> Interest mailing list
> Interest at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest