mirror of https://github.com/adamdruppe/arsd.git
ketmar bug fix
This commit is contained in:
parent
67ede2e6d0
commit
bd1bed0495
|
@ -1448,8 +1448,8 @@ public:
|
||||||
++eventQueueUsed;
|
++eventQueueUsed;
|
||||||
}
|
}
|
||||||
version(X11) {
|
version(X11) {
|
||||||
// if this is first event in queue, wake up eventfd
|
// wake up eventfd
|
||||||
if (eventQueueUsed == 1) {
|
{
|
||||||
import core.sys.posix.unistd : write;
|
import core.sys.posix.unistd : write;
|
||||||
ulong n = 1;
|
ulong n = 1;
|
||||||
write(customEventFD, &n, n.sizeof);
|
write(customEventFD, &n, n.sizeof);
|
||||||
|
|
Loading…
Reference in New Issue