mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Only set the fake fd's revents, not the first one. Fixes bug #531056,
2008-05-08 Richard Hult <richard@imendio.com> * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake fd's revents, not the first one. Fixes bug #531056, spotted by Yevgen Muntyan. svn path=/trunk/; revision=20086
This commit is contained in:
parent
17ccbe48f5
commit
8ff76c14cd
@ -1,3 +1,9 @@
|
||||
2008-05-08 Richard Hult <richard@imendio.com>
|
||||
|
||||
* gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
|
||||
fd's revents, not the first one. Fixes bug #531056, spotted by
|
||||
Yevgen Muntyan.
|
||||
|
||||
2008-05-07 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages
|
||||
|
@ -295,7 +295,14 @@ poll_func (GPollFD *ufds, guint nfds, gint timeout_)
|
||||
|
||||
if (event)
|
||||
{
|
||||
ufds[0].revents = G_IO_IN;
|
||||
for (i = 0; i < nfds; i++)
|
||||
{
|
||||
if (ufds[i].fd == -1)
|
||||
{
|
||||
ufds[i].revents = G_IO_IN;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
current_event = [event retain];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user