X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/52127426a14176f9e12608952c5dc6ea9a2b6bd4..a5e3c24d7b0b954b0408697a211d004e4a55051d:/src/x11/gsockx11.c diff --git a/src/x11/gsockx11.c b/src/x11/gsockx11.c index fa84831995..6fc3464ec7 100644 --- a/src/x11/gsockx11.c +++ b/src/x11/gsockx11.c @@ -14,7 +14,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 +30,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 +76,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) {