forked from AuroraMiddleware/gtk
Make gdk build against old X headers
The XI.h in RHEL5 is missing some defines that are used in the new device code.
This commit is contained in:
parent
2ace397eb5
commit
25864cf0ce
@ -202,6 +202,12 @@ translate_class_info (GdkDevice *device,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* old versions of XI.h don't define these */
|
||||||
|
#ifndef IsXExtensionKeyboard
|
||||||
|
#define IsXExtensionKeyboard 3
|
||||||
|
#define IsXExtensionPointer 4
|
||||||
|
#endif
|
||||||
|
|
||||||
static GdkDevice *
|
static GdkDevice *
|
||||||
create_device (GdkDeviceManager *device_manager,
|
create_device (GdkDeviceManager *device_manager,
|
||||||
GdkDisplay *display,
|
GdkDisplay *display,
|
||||||
|
Loading…
Reference in New Issue
Block a user