12#include <QGuiApplication>
13#include <kwin_export.h>
21 return reinterpret_cast<xcb_connection_t *
>(qApp->property(
"x11Connection").value<
void *>());
26 return qApp->property(
"x11RootWindow").value<quint32>();
29inline KWIN_EXPORT xcb_timestamp_t
xTime()
31 return qApp->property(
"x11Time").value<xcb_timestamp_t>();
36bool KWIN_EXPORT
grabXKeyboard(xcb_window_t w = XCB_WINDOW_NONE);
KWIN_EXPORT xcb_window_t rootWindow()
KWIN_EXPORT xcb_timestamp_t xTime()
KWIN_EXPORT xcb_connection_t * connection()
void KWIN_EXPORT ungrabXKeyboard()
void KWIN_EXPORT grabXServer()
void KWIN_EXPORT ungrabXServer()
bool KWIN_EXPORT grabXKeyboard(xcb_window_t w=XCB_WINDOW_NONE)