$OpenBSD: patch-src_gpds-xinput-pointer-info_c,v 1.1.1.1 2011/08/31 15:15:25 mpi Exp $

Fix build with gtk+-2.22.
From https://bugzilla.gnome.org/show_bug.cgi?id=631068

--- src/gpds-xinput-pointer-info.c.orig	Sat Aug 15 10:24:43 2009
+++ src/gpds-xinput-pointer-info.c	Mon Jan 17 14:42:04 2011
@@ -55,7 +55,8 @@ gpds_xinput_utils_collect_pointer_infos (void)
     XDeviceInfo *device_infos;
     gint i, n_device_infos;
 
-    device_infos = XListInputDevices(GDK_DISPLAY(), &n_device_infos);
+    device_infos = XListInputDevices(gdk_x11_get_default_xdisplay(),
+                                     &n_device_infos);
 
     for (i = 0; i < n_device_infos; i++) {
         GpdsXInputPointerInfo *info;
