[Interest] Window ID of the current screen (root window)?
Richard Moore
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.
Cheers
Rich
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()?
>
> Thanks,
> --
> 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
> https://lists.qt-project.org/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20201120/156b1494/attachment.html>
More information about the Interest
mailing list