Пример #1
0
        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);
                }
            }
        }
Пример #2
0
 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);
Пример #3
0
 public static extern int XSetWMHints(Display *param0, Window param1, XWMHints *param2);