X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/52127426a14176f9e12608952c5dc6ea9a2b6bd4..b1b3ddd840a507f3ca85379bfa832f2b0c9105d6:/src/x11/gsockx11.c diff --git a/src/x11/gsockx11.c b/src/x11/gsockx11.c index fa84831995..d49b6d1c07 100644 --- a/src/x11/gsockx11.c +++ b/src/x11/gsockx11.c @@ -2,6 +2,7 @@ * Project: GSocket (Generic Socket) for WX * Name: gsockmot.c * Purpose: GSocket: X11 part + * Licence: The wxWindows licence * CVSID: $Id$ * ------------------------------------------------------------------------- */ @@ -14,7 +15,7 @@ #include "wx/unix/gsockunx.h" /* - * TODO: have these in a common header instead of being repeated + * FIXME: have these in a common header instead of being repeated * in evtloop.cpp and gsockx11.c */ @@ -30,7 +31,7 @@ void wxUnregisterSocketCallback(int fd, wxSocketTableType socketType); static void _GSocket_X11_Input(int *fid, void* data) { GSocket *socket = (GSocket *)data; - + _GSocket_Detected_Read(socket); } @@ -76,8 +77,10 @@ void _GSocket_Install_Callback(GSocket *socket, GSocketEvent event) default: return; } - // if (m_id[c] != -1) - // XtRemoveInput(m_id[c]); +#if 0 + if (m_id[c] != -1) + XtRemoveInput(m_id[c]); +#endif /* 0 */ if (c == 0) {