43 #include "qwaylandwindowmanager-client-protocol.h" 73 if (strcmp(interface,
"wl_windowmanager") == 0) {
89 authToken =
qgetenv(
"WL_AUTHENTICATION_TOKEN");
Q_CORE_EXPORT QByteArray qgetenv(const char *varName)
static QWaylandWindowManagerIntegration * createIntegration(QWaylandDisplay *waylandDisplay)
virtual ~QWaylandWindowManagerIntegration()
The QByteArray class provides an array of bytes.
struct wl_windowmanager * mWaylandWindowManager
Q_GUI_EXPORT EGLDisplay display()
QWaylandDisplay * mWaylandDisplay
void mapClientToProcess(long long processId)
static const char * data(const QByteArray &arr)
const char * constData() const
Returns a pointer to the data stored in the byte array.
QWaylandWindowManagerIntegration(QWaylandDisplay *waylandDisplay)
void authenticateWithToken(const QByteArray &token=QByteArray())
bool isEmpty() const
Returns true if the byte array has size 0; otherwise returns false.
static void wlHandleListenerGlobal(wl_display *display, uint32_t id, const char *interface, uint32_t version, void *data)
struct wl_windowmanager * windowManager() const
struct wl_display * wl_display() const