Fix wrong return value in x11 event dispatch

According to glib docs the dispatch function should be G_SOURCE_REMOVE
or G_SOURCE_CONTINUE. Since this was worked properly until now I assume
we were lucky enough that true == G_SOURCE_CONTINUE but it may not
always be the case.
This commit is contained in:
Nikos Tsipinakis 2018-05-02 21:25:08 +03:00
parent 2a1c4946b5
commit bec02ef6a0

View File

@ -253,7 +253,7 @@ gboolean x_mainloop_fd_dispatch(GSource *source, GSourceFunc callback, gpointer
break; break;
} }
} }
return true; return G_SOURCE_CONTINUE;
} }
/* /*