49ed4a3db3
GPointingDeviceSettings is a GUI tool for setting pointing device such as TrackPoint or Touchpad. Each UI can be written as dynamic loadable module, so a third party can add its own UI. Based on a port from jasper@ with tweaks by ajacoutot@ ok ajacoutot@, jasper@
18 lines
704 B
Plaintext
18 lines
704 B
Plaintext
$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;
|