Commit ca779020 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Oups, this is a C++ file

parent f49cbfc0
......@@ -147,10 +147,10 @@ void X11TimerLoop::waitNextTimer()
bool X11TimerLoop::sleep( int delay )
{
struct pollfd ufd = {
.fd = m_connectionNumber,
.events = POLLIN,
};
struct pollfd ufd;
memset( &ufd, 0, sizeof (ufd) );
ufd.fd = m_connectionNumber;
ufd.events = POLLIN;
// Wait for an X11 event, or timeout
// TODO: use VLC object waitpipe?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment