1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3#ifndef QT_XLIB_WRAPPER_H
4#define QT_XLIB_WRAPPER_H
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10 typedef struct _XDisplay Display;
11 void qt_XFlush(Display *dpy);
12
13#ifdef __cplusplus
14}
15#endif
16
17#endif // QT_XLIB_WRAPPER_H
18

source code of qtbase/src/plugins/platforms/xcb/qt_xlib_wrapper.h