mirror of
https://github.com/Skycoder42/QHotkey.git
synced 2026-11-19 12:49:58 +03:00
X11 header fix
This commit is contained in:
@@ -29,6 +29,9 @@ protected:
|
|||||||
private:
|
private:
|
||||||
static const QVector<quint32> specialModifiers;
|
static const QVector<quint32> specialModifiers;
|
||||||
static const quint32 validModsMask;
|
static const quint32 validModsMask;
|
||||||
|
XErrorHandler prevHandler;
|
||||||
|
xcb_key_press_event_t prevHandledEvent;
|
||||||
|
xcb_key_press_event_t prevEvent;
|
||||||
|
|
||||||
static QString formatX11Error(Display *display, int errorCode);
|
static QString formatX11Error(Display *display, int errorCode);
|
||||||
|
|
||||||
@@ -41,9 +44,6 @@ private:
|
|||||||
static QString errorString;
|
static QString errorString;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
XErrorHandler prevHandler;
|
|
||||||
xcb_key_press_event_t prevHandledEvent;
|
|
||||||
xcb_key_press_event_t prevEvent;
|
|
||||||
QTimer *releaseTimer = nullptr;
|
QTimer *releaseTimer = nullptr;
|
||||||
|
|
||||||
static int handleError(Display *display, XErrorEvent *error);
|
static int handleError(Display *display, XErrorEvent *error);
|
||||||
|
|||||||
Reference in New Issue
Block a user