$OpenBSD: patch-test_test-xinput-utils_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 --- test/test-xinput-utils.c.orig Sun Oct 4 01:14:47 2009 +++ test/test-xinput-utils.c Mon Jan 17 14:42:04 2011 @@ -28,7 +28,7 @@ void teardown (void) { if (device) - XCloseDevice(GDK_DISPLAY(), device); + XCloseDevice(gdk_x11_get_default_xdisplay(), device); g_clear_error(&error); g_clear_error(&expected_error); }