GlobalShortcutsTest: Support running the test without xwayland
This commit is contained in:
parent
a977ba3311
commit
8cbc03b3be
1 changed files with 3 additions and 0 deletions
|
@ -306,6 +306,9 @@ struct XcbConnectionDeleter
|
|||
|
||||
void GlobalShortcutsTest::testX11ClientShortcut()
|
||||
{
|
||||
#ifdef NO_XWAYLAND
|
||||
QSKIP("x11 test, unnecessary without xwayland");
|
||||
#endif
|
||||
// create an X11 window
|
||||
QScopedPointer<xcb_connection_t, XcbConnectionDeleter> c(xcb_connect(nullptr, nullptr));
|
||||
QVERIFY(!xcb_connection_has_error(c.data()));
|
||||
|
|
Loading…
Reference in a new issue