fix build with GLib2 option on

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2019-07-06 14:54:40 +00:00
parent 3a96abb05b
commit 29962f6acf

View file

@ -105,8 +105,8 @@ static gboolean x11EventSourceDispatch(GSource *s, GSourceFunc callback, gpointe
if (source->flags & QEventLoop::ExcludeUserInputEvents) {
// queue user input events
switch (event.type) {
case ButtonPress:
case ButtonRelease:
case XButtonPress:
case XButtonRelease:
case MotionNotify:
case XKeyPress:
case XKeyRelease: