mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-05-05 06:20:44 +09:00
Poll revents reset
This commit is contained in:
@@ -43,6 +43,7 @@ namespace gsr {
|
||||
|
||||
XEvent xev;
|
||||
while(running) {
|
||||
poll_fds[0].revents = 0;
|
||||
poll(poll_fds, 1, 100);
|
||||
while(XPending(dpy)) {
|
||||
XNextEvent(dpy, &xev);
|
||||
|
||||
Reference in New Issue
Block a user