OSDN Git Service

fix build with GLib2 option on
authorIvailo Monev <xakepa10@laimg.moc>
Sat, 6 Jul 2019 14:54:40 +0000 (14:54 +0000)
committerIvailo Monev <xakepa10@laimg.moc>
Sat, 6 Jul 2019 14:54:40 +0000 (14:54 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/gui/kernel/qguieventdispatcher_glib.cpp

index bef4727..90df522 100644 (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: