forked from AuroraMiddleware/gtk
x11: Stop setting the query_state vfunc
This commit is contained in:
parent
0546f09b1d
commit
9dbf81e7d9
@ -108,7 +108,6 @@ gdk_x11_device_xi2_class_init (GdkX11DeviceXI2Class *klass)
|
||||
object_class->set_property = gdk_x11_device_xi2_set_property;
|
||||
|
||||
device_class->set_surface_cursor = gdk_x11_device_xi2_set_surface_cursor;
|
||||
device_class->query_state = gdk_x11_device_xi2_query_state;
|
||||
device_class->grab = gdk_x11_device_xi2_grab;
|
||||
device_class->ungrab = gdk_x11_device_xi2_ungrab;
|
||||
device_class->surface_at_position = gdk_x11_device_xi2_surface_at_position;
|
||||
|
@ -34,6 +34,7 @@
|
||||
#include "gdkvisual-x11.h"
|
||||
#include "gdkinternals.h"
|
||||
#include "gdkdeviceprivate.h"
|
||||
#include "gdkdevice-xi2-private.h"
|
||||
#include "gdkframeclockidleprivate.h"
|
||||
#include "gdkasync.h"
|
||||
#include "gdkeventsource.h"
|
||||
@ -2669,10 +2670,7 @@ gdk_x11_surface_get_device_state (GdkSurface *surface,
|
||||
if (GDK_SURFACE_DESTROYED (surface))
|
||||
return FALSE;
|
||||
|
||||
/*HIDPI: handle coords here?*/
|
||||
GDK_DEVICE_GET_CLASS (device)->query_state (device, surface,
|
||||
&child,
|
||||
x, y, mask);
|
||||
gdk_x11_device_xi2_query_state (device, surface, &child, x, y, mask);
|
||||
return child != NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user