Minor cleanup.

This commit is contained in:
the_fiddler 2007-04-24 12:16:20 +00:00
parent 0a918f60c1
commit b001d1af6d

View file

@ -104,9 +104,16 @@ namespace OpenTK.Platform.X
extern public static int Pending(IntPtr Display); extern public static int Pending(IntPtr Display);
[DllImport(_dll_name, EntryPoint = "XGrabPointer")] [DllImport(_dll_name, EntryPoint = "XGrabPointer")]
extern public static ErrorCodes XGrabPointer(IntPtr display, IntPtr grab_window, extern public static ErrorCodes XGrabPointer(
bool owner_events, uint event_mask, GrabMode pointer_mode, IntPtr display,
GrabMode keyboard_mode, IntPtr confine_to, IntPtr cursor, int time); IntPtr grab_window,
bool owner_events, uint event_mask,
GrabMode pointer_mode,
GrabMode keyboard_mode,
IntPtr confine_to,
IntPtr cursor,
int time
);
[DllImport(_dll_name, EntryPoint = "XUngrabPointer")] [DllImport(_dll_name, EntryPoint = "XUngrabPointer")]
extern public static ErrorCodes XUngrabPointer(IntPtr display, int time); extern public static ErrorCodes XUngrabPointer(IntPtr display, int time);