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;
|
||||
}
|
||||
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);
|
||||
|
|
Loading…
Reference in New Issue