diff options
author | Henrik Andersson <hean01@cendio.com> | 2018-06-29 10:25:41 +0200 |
---|---|---|
committer | Henrik Andersson <hean01@cendio.com> | 2018-06-29 10:31:48 +0200 |
commit | 5fbf4bd95342acfa9d2cfee81ed4f8d7c183278b (patch) | |
tree | a05d8e7474c72ae85b2b636525ee0778ca0e7249 /disk.h | |
parent | 79e5b3353b0995900ba51d1019d25f9a5196f4a5 (diff) | |
download | rdesktop-5fbf4bd95342acfa9d2cfee81ed4f8d7c183278b.zip |
Fixes memleak where unprocessed X11 events builds up on queue
There is a limiter used for processing X11 events set to 20
for slicing between processing X11 event and processing data
on file descriptors. Before this fix, when waiting for data on
filedescriptors, we assumed that there were no pending X11
events left on queue and therefore the select() timeout on
60 seconds.
Now we will check the queue and select a timeout depending
on whats left to do.
Fixes bug #275
Diffstat (limited to 'disk.h')
0 files changed, 0 insertions, 0 deletions