private static extern int XGrabPointer(IntPtr display, IntPtr grab_window, bool owner_events, XEventMask event_mask, XGrabMode pointer_mode, XGrabMode keyboard_mode, int confine_to, int cursor, int time);
private static extern int XGrabKey(IntPtr display, int keycode, XModMask modifiers, IntPtr grab_window, bool owner_events, XGrabMode pointer_mode, XGrabMode keyboard_mode);
private static extern int XGrabButton(IntPtr display, int button, XModMask modifiers, IntPtr grab_window, bool owner_events, XEventMask event_mask, XGrabMode pointer_mode, XGrabMode keyboard_mode, int confine_to, IntPtr cursor);
public int GrabKey(XKeySym keysym, XModMask modifiers, bool owner_events, XGrabMode pointer_mode, XGrabMode keyboard_mode) { return XGrabKey (display.Handle, XKeysymToKeycode (display.Handle, keysym), modifiers, Handle, owner_events, pointer_mode, keyboard_mode); }
public int GrabButton(int button, XModMask modifiers, IntPtr grab_window, bool owner_events, XEventMask event_mask, XGrabMode pointer_mode, XGrabMode keyboard_mode, int confine_to, IntPtr cursor) { return XGrabButton (display.Handle, button, modifiers, grab_window, owner_events, event_mask, pointer_mode, keyboard_mode, confine_to, cursor); }
private static extern void XGrabKey(IntPtr display, int keycode, XModMask modifiers, IntPtr window, bool owner_events, XGrabMode pointer_mode, XGrabMode keyboard_mode);