Lines Matching defs:display

225         XkbDescPtr desc = XkbGetMap(_glfw.x11.display, 0, XkbUseCoreKbd);
226 XkbGetNames(_glfw.x11.display, XkbKeyNamesMask | XkbKeyAliasesMask, desc);
412 XDisplayKeycodes(_glfw.x11.display, &scancodeMin, &scancodeMax);
415 KeySym* keysyms = XGetKeyboardMapping(_glfw.x11.display,
466 static void inputMethodInstantiateCallback(Display* display,
473 _glfw.x11.im = XOpenIM(_glfw.x11.display, 0, NULL, NULL);
501 const Atom atom = XInternAtom(_glfw.x11.display, atomName, False);
624 XF86VidModeQueryExtension(_glfw.x11.display,
643 if (XQueryExtension(_glfw.x11.display,
652 if (XIQueryVersion(_glfw.x11.display,
707 if (XRRQueryExtension(_glfw.x11.display,
711 if (XRRQueryVersion(_glfw.x11.display,
729 XRRScreenResources* sr = XRRGetScreenResourcesCurrent(_glfw.x11.display,
732 if (!sr->ncrtc || !XRRGetCrtcGammaSize(_glfw.x11.display, sr->crtcs[0]))
751 XRRSelectInput(_glfw.x11.display, _glfw.x11.root,
794 if (XineramaQueryExtension(_glfw.x11.display,
798 if (XineramaIsActive(_glfw.x11.display))
806 XkbQueryExtension(_glfw.x11.display,
817 if (XkbSetDetectableAutoRepeat(_glfw.x11.display, True, &supported))
824 if (XkbGetState(_glfw.x11.display, XkbUseCoreKbd, &state) == Success)
827 XkbSelectEventDetails(_glfw.x11.display, XkbUseCoreKbd, XkbStateNotify,
864 if (XRenderQueryExtension(_glfw.x11.display,
868 if (XRenderQueryVersion(_glfw.x11.display,
895 if (XShapeQueryExtension(_glfw.x11.display,
899 if (XShapeQueryVersion(_glfw.x11.display,
914 _glfw.x11.NULL_ = XInternAtom(_glfw.x11.display, "NULL", False);
915 _glfw.x11.UTF8_STRING = XInternAtom(_glfw.x11.display, "UTF8_STRING", False);
916 _glfw.x11.ATOM_PAIR = XInternAtom(_glfw.x11.display, "ATOM_PAIR", False);
920 XInternAtom(_glfw.x11.display, "GLFW_SELECTION", False);
923 _glfw.x11.TARGETS = XInternAtom(_glfw.x11.display, "TARGETS", False);
924 _glfw.x11.MULTIPLE = XInternAtom(_glfw.x11.display, "MULTIPLE", False);
925 _glfw.x11.PRIMARY = XInternAtom(_glfw.x11.display, "PRIMARY", False);
926 _glfw.x11.INCR = XInternAtom(_glfw.x11.display, "INCR", False);
927 _glfw.x11.CLIPBOARD = XInternAtom(_glfw.x11.display, "CLIPBOARD", False);
931 XInternAtom(_glfw.x11.display, "CLIPBOARD_MANAGER", False);
933 XInternAtom(_glfw.x11.display, "SAVE_TARGETS", False);
936 _glfw.x11.XdndAware = XInternAtom(_glfw.x11.display, "XdndAware", False);
937 _glfw.x11.XdndEnter = XInternAtom(_glfw.x11.display, "XdndEnter", False);
938 _glfw.x11.XdndPosition = XInternAtom(_glfw.x11.display, "XdndPosition", False);
939 _glfw.x11.XdndStatus = XInternAtom(_glfw.x11.display, "XdndStatus", False);
940 _glfw.x11.XdndActionCopy = XInternAtom(_glfw.x11.display, "XdndActionCopy", False);
941 _glfw.x11.XdndDrop = XInternAtom(_glfw.x11.display, "XdndDrop", False);
942 _glfw.x11.XdndFinished = XInternAtom(_glfw.x11.display, "XdndFinished", False);
943 _glfw.x11.XdndSelection = XInternAtom(_glfw.x11.display, "XdndSelection", False);
944 _glfw.x11.XdndTypeList = XInternAtom(_glfw.x11.display, "XdndTypeList", False);
945 _glfw.x11.text_uri_list = XInternAtom(_glfw.x11.display, "text/uri-list", False);
951 XInternAtom(_glfw.x11.display, "WM_PROTOCOLS", False);
953 XInternAtom(_glfw.x11.display, "WM_STATE", False);
955 XInternAtom(_glfw.x11.display, "WM_DELETE_WINDOW", False);
957 XInternAtom(_glfw.x11.display, "_NET_SUPPORTED", False);
959 XInternAtom(_glfw.x11.display, "_NET_SUPPORTING_WM_CHECK", False);
961 XInternAtom(_glfw.x11.display, "_NET_WM_ICON", False);
963 XInternAtom(_glfw.x11.display, "_NET_WM_PING", False);
965 XInternAtom(_glfw.x11.display, "_NET_WM_PID", False);
967 XInternAtom(_glfw.x11.display, "_NET_WM_NAME", False);
969 XInternAtom(_glfw.x11.display, "_NET_WM_ICON_NAME", False);
971 XInternAtom(_glfw.x11.display, "_NET_WM_BYPASS_COMPOSITOR", False);
973 XInternAtom(_glfw.x11.display, "_NET_WM_WINDOW_OPACITY", False);
975 XInternAtom(_glfw.x11.display, "_MOTIF_WM_HINTS", False);
981 _glfw.x11.NET_WM_CM_Sx = XInternAtom(_glfw.x11.display, name, False);
1002 char* rms = XResourceManagerString(_glfw.x11.display);
1041 return XCreateWindow(_glfw.x11.display, _glfw.x11.root,
1044 DefaultVisual(_glfw.x11.display, _glfw.x11.screen),
1081 static int errorHandler(Display *display, XErrorEvent* event)
1083 if (_glfw.x11.display != display)
1109 XSync(_glfw.x11.display, False);
1119 XGetErrorText(_glfw.x11.display, _glfw.x11.errorCode,
1154 cursor = XcursorImageLoadCursor(_glfw.x11.display, native);
1291 Display* display = XOpenDisplay(NULL);
1292 if (!display)
1300 "X11: Failed to open display %s", name);
1313 _glfw.x11.display = display;
1524 _glfw.x11.screen = DefaultScreen(_glfw.x11.display);
1525 _glfw.x11.root = RootWindow(_glfw.x11.display, _glfw.x11.screen);
1544 XRegisterIMInstantiateCallback(_glfw.x11.display,
1558 if (XGetSelectionOwner(_glfw.x11.display, _glfw.x11.CLIPBOARD) ==
1564 XDestroyWindow(_glfw.x11.display, _glfw.x11.helperWindowHandle);
1570 XFreeCursor(_glfw.x11.display, _glfw.x11.hiddenCursorHandle);
1577 XUnregisterIMInstantiateCallback(_glfw.x11.display,
1588 if (_glfw.x11.display)
1590 XCloseDisplay(_glfw.x11.display);
1591 _glfw.x11.display = NULL;