blob: a53f2362ae17ba95f1b7e05be8220a0df9110fe9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
// Qt-Security score:significant reason:default
#pragma once
#include "qxcbobject.h"
#include "qxcbconnection.h"
#include <qlist.h>
QT_BEGIN_NAMESPACE
class QXcbWMSupport : public QXcbObject
{
public:
QXcbWMSupport(QXcbConnection *c);
bool isSupportedByWM(xcb_atom_t atom) const;
const QList<xcb_window_t> &virtualRoots() const { return net_virtual_roots; }
private:
friend class QXcbConnection;
void updateNetWMAtoms();
void updateVirtualRoots();
QList<xcb_atom_t> net_wm_atoms;
QList<xcb_window_t> net_virtual_roots;
};
QT_END_NAMESPACE
|