gui should really have higher priority then sound...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@753 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
5632b932bc
commit
3dbf5279c8
6
xwin.c
6
xwin.c
@ -1445,13 +1445,13 @@ ui_select(int rdp_socket)
|
|||||||
|
|
||||||
rdpdr_check_fds(&rfds, &wfds, (BOOL) False);
|
rdpdr_check_fds(&rfds, &wfds, (BOOL) False);
|
||||||
|
|
||||||
|
if (FD_ISSET(rdp_socket, &rfds))
|
||||||
|
return 1;
|
||||||
|
|
||||||
#ifdef WITH_RDPSND
|
#ifdef WITH_RDPSND
|
||||||
if (g_dsp_busy && FD_ISSET(g_dsp_fd, &wfds))
|
if (g_dsp_busy && FD_ISSET(g_dsp_fd, &wfds))
|
||||||
wave_out_play();
|
wave_out_play();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (FD_ISSET(rdp_socket, &rfds))
|
|
||||||
return 1;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user