Skip to content

Commit 42835e3

Browse files
simply pollEvents (X11)
1 parent 91b1ce7 commit 42835e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RGFW.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6242,7 +6242,7 @@ void RGFW_FUNC(RGFW_pollEvents) (void) {
62426242

62436243
XPending(_RGFW->display);
62446244
/* if there is no unread queued events, get a new one */
6245-
while ((QLength(_RGFW->display) || XEventsQueued(_RGFW->display, QueuedAlready) + XEventsQueued(_RGFW->display, QueuedAfterReading))) {
6245+
while (QLength(_RGFW->display)) {
62466246
RGFW_XHandleEvent();
62476247
}
62486248
}

0 commit comments

Comments
 (0)