private void HandleXPropertyWmHints(XPropertyEvent *xproperty, XlibDispatchService dispatchService) { XWMHints *wmHints = null; try { wmHints = XGetWMHints(xproperty->display, xproperty->window); _isEnabled = (wmHints != null) && ((wmHints->flags * InputHint) != 0) && (wmHints->input != False); } finally { if (wmHints != null) { _ = XFree(wmHints); } } }
public static extern void Xutf8SetWMProperties(Display *param0, Window param1, [NativeTypeName("const char *")] sbyte *param2, [NativeTypeName("const char *")] sbyte *param3, [NativeTypeName("char **")] sbyte **param4, int param5, XSizeHints *param6, XWMHints *param7, XClassHint *param8);
public static extern int XSetWMHints(Display *param0, Window param1, XWMHints *param2);