Lines Matching refs:fDisplay
56 if (fDisplay) { in initWindow()
59 fDisplay = display; in initWindow()
93 fFBConfig = glXChooseFBConfig(fDisplay, DefaultScreen(fDisplay), msaaChooseFBConfigAtt, &n); in initWindow()
95 fVisualInfo = glXGetVisualFromFBConfig(fDisplay, *fFBConfig); in initWindow()
113 fFBConfig = glXChooseFBConfig(fDisplay, DefaultScreen(fDisplay), kChooseFBConfigAtt, &n); in initWindow()
115 fVisualInfo = glXGetVisualFromFBConfig(fDisplay, *fFBConfig); in initWindow()
173 if (fDisplay) { in closeWindow()
176 XFreeGC(fDisplay, fGC); in closeWindow()
180 XDestroyWindow(fDisplay, fWindow); in closeWindow()
190 fDisplay = nullptr; in closeWindow()
257 fGC = XCreateGC(fDisplay, fWindow, 0, nullptr); in handleEvent()
297 KeySym keysym = XkbKeycodeToKeysym(fDisplay, event.xkey.keycode, 0, shiftLevel); in handleEvent()
315 KeySym keysym = XkbKeycodeToKeysym(fDisplay, event.xkey.keycode, in handleEvent()
328 Atom UTF8 = XInternAtom(fDisplay, "UTF8_STRING", 0), in handleEvent()
329 CLIPBOARD = XInternAtom(fDisplay, "CLIPBOARD", 0); in handleEvent()
349 XSendEvent(fDisplay, xsr->requestor, True, NoEventMask, (XEvent*)&xsel); in handleEvent()
353 XChangeProperty(fDisplay, xsr->requestor, xsr->property, UTF8, /*format=*/8, in handleEvent()
356 XSendEvent(fDisplay, xsr->requestor, True, NoEventMask, (XEvent*)&xsel); in handleEvent()
374 XSetWMName(fDisplay, fWindow, &textproperty); in setTitle()
379 XMapWindow(fDisplay, fWindow); in show()
385 this->initWindow(fDisplay); in attach()
388 winInfo.fDisplay = fDisplay; in attach()
394 if (XGetWindowAttributes(fDisplay, fWindow, &attrs)) { in attach()
434 event.xexpose.display = fDisplay; in onInval()
442 XSendEvent(fDisplay, fWindow, False, 0, &event); in onInval()
463 Atom UTF8 = XInternAtom(fDisplay, "UTF8_STRING", 0), in getClipboardText()
464 CLIPBOARD = XInternAtom(fDisplay, "CLIPBOARD", 0), in getClipboardText()
465 XSEL_DATA = XInternAtom(fDisplay, "XSEL_DATA", 0); in getClipboardText()
469 XConvertSelection(fDisplay, CLIPBOARD, UTF8, XSEL_DATA, fWindow, CurrentTime); in getClipboardText()
470 XSync(fDisplay, 0); in getClipboardText()
471 XNextEvent(fDisplay, &event); in getClipboardText()
501 Atom CLIPBOARD = XInternAtom(fDisplay, "CLIPBOARD", 0); in setClipboardText()
502 XSetSelectionOwner(fDisplay, CLIPBOARD, fWindow, CurrentTime); in setClipboardText()