Go to the source code of this file.
◆ x11EventSourceCheck()
static gboolean x11EventSourceCheck |
( |
GSource * |
s | ) |
|
|
static |
Definition at line 82 of file qguieventdispatcher_glib.cpp.
85 return (XEventsQueued(
X11->display, QueuedAfterFlush)
QGuiEventDispatcherGlibPrivate * d
QEventLoop::ProcessEventsFlags flags
bool isEmpty() const
Returns true if the list contains no items; otherwise returns false.
QList< XEvent > queuedUserInputEvents
◆ x11EventSourceDispatch()
static gboolean x11EventSourceDispatch |
( |
GSource * |
s, |
|
|
GSourceFunc |
callback, |
|
|
gpointer |
user_data |
|
) |
| |
|
static |
Definition at line 90 of file qguieventdispatcher_glib.cpp.
94 ulong marker = XNextRequest(
X11->display);
101 }
else if (XEventsQueued(
X11->display, QueuedAlready)) {
103 XNextEvent(
X11->display, &event);
107 switch (event.type) {
122 if (event.xclient.format == 32) {
146 if (
qApp->x11ProcessEvent(&event) == 1)
149 if (event.xany.serial >= marker)
151 }
while (XEventsQueued(
X11->display, QueuedAfterFlush));
static void callback(AuServer *, AuEventHandlerRec *, AuEvent *e, AuPointer p)
bool filterEvent(void *message)
Sends message through the event filter that was set by setEventFilter().
QGuiEventDispatcherGlibPrivate * d
QGuiEventDispatcherGlib * q
QEventLoop::ProcessEventsFlags flags
bool isEmpty() const
Returns true if the list contains no items; otherwise returns false.
void append(const T &t)
Inserts value at the end of the list.
T takeFirst()
Removes the first item in the list and returns it.
QList< XEvent > queuedUserInputEvents
void runTimersOnceWithNormalPriority()
◆ x11EventSourcePrepare()
static gboolean x11EventSourcePrepare |
( |
GSource * |
s, |
|
|
gint * |
timeout |
|
) |
| |
|
static |
Definition at line 72 of file qguieventdispatcher_glib.cpp.
77 return (XEventsQueued(
X11->display, QueuedAfterFlush)
QGuiEventDispatcherGlibPrivate * d
QEventLoop::ProcessEventsFlags flags
bool isEmpty() const
Returns true if the list contains no items; otherwise returns false.
QList< XEvent > queuedUserInputEvents
◆ x11EventSourceFuncs
GSourceFuncs x11EventSourceFuncs |
|
static |