#include <QtCore/qnamespace.h>
Go to the source code of this file.
◆ Display
◆ qt_x11_getX11InfoForWindow()
Definition at line 3114 of file qwidget_x11.cpp.
3117 const XWindowAttributes &a = *(att.att);
3121 for (i = 0; i < ScreenCount(
X11->display); i++) {
3122 if (RootWindow(
X11->display, i) == a.root) {
3128 xd->
depth = a.depth;
3131 xd->
defaultVisual = (XVisualIDFromVisual((Visual *) a.visual) ==
static int appScreen()
Returns the number of the screen where the application is being displayed.
QX11InfoData * getX11Data(bool def=false) const
static Qt::HANDLE appColormap(int screen=-1)
Returns a handle for the application's color map on the given screen.
static void * appVisual(int screen=-1)
Returns the current visual used by the application on the given screen.
void setX11Data(const QX11InfoData *)
Makes a shallow copy of the X11-specific data d and assigns it to this class.
int screen() const
Returns the number of the screen currently in use.