ketmar bug fix

This commit is contained in:
Adam D. Ruppe 2017-02-10 23:21:44 -05:00
parent 67ede2e6d0
commit bd1bed0495
1 changed files with 2 additions and 2 deletions

View File

@ -1448,8 +1448,8 @@ public:
++eventQueueUsed;
}
version(X11) {
// if this is first event in queue, wake up eventfd
if (eventQueueUsed == 1) {
// wake up eventfd
{
import core.sys.posix.unistd : write;
ulong n = 1;
write(customEventFD, &n, n.sizeof);