Lines Matching refs:xrc
194 RTCString xErrorToString(int xrc) const;
262 RTCString xHelpers::xErrorToString(int xrc) const
264 switch (xrc)
266 case Success: return RTCStringFmt("%d (Success)", xrc); break;
267 case BadRequest: return RTCStringFmt("%d (BadRequest)", xrc); break;
268 case BadValue: return RTCStringFmt("%d (BadValue)", xrc); break;
269 case BadWindow: return RTCStringFmt("%d (BadWindow)", xrc); break;
270 case BadPixmap: return RTCStringFmt("%d (BadPixmap)", xrc); break;
271 case BadAtom: return RTCStringFmt("%d (BadAtom)", xrc); break;
272 case BadCursor: return RTCStringFmt("%d (BadCursor)", xrc); break;
273 case BadFont: return RTCStringFmt("%d (BadFont)", xrc); break;
274 case BadMatch: return RTCStringFmt("%d (BadMatch)", xrc); break;
275 case BadDrawable: return RTCStringFmt("%d (BadDrawable)", xrc); break;
276 case BadAccess: return RTCStringFmt("%d (BadAccess)", xrc); break;
277 case BadAlloc: return RTCStringFmt("%d (BadAlloc)", xrc); break;
278 case BadColor: return RTCStringFmt("%d (BadColor)", xrc); break;
279 case BadGC: return RTCStringFmt("%d (BadGC)", xrc); break;
280 case BadIDChoice: return RTCStringFmt("%d (BadIDChoice)", xrc); break;
281 case BadName: return RTCStringFmt("%d (BadName)", xrc); break;
282 case BadLength: return RTCStringFmt("%d (BadLength)", xrc); break;
283 case BadImplementation: return RTCStringFmt("%d (BadImplementation)", xrc); break;
285 return RTCStringFmt("%d (unknown)", xrc);
821 int xrc = XSendEvent(e.xselection.display, e.xselectionrequest.requestor, False, 0, &s);
822 if (RT_UNLIKELY(xrc == 0))
848 int xrc = XSendEvent(e.xselection.display, e.xselectionrequest.requestor, False, 0, &s);
849 if (RT_UNLIKELY(xrc == 0))
881 int xrc = XSendEvent(e.xselection.display, e.xselectionrequest.requestor, False, 0, &s);
882 if (RT_UNLIKELY(xrc == 0))
1097 int xrc = Success;
1116 xrc = XGetWindowProperty(m_pDisplay, wndCursor, xAtom(XA_XdndAware),
1120 if (RT_UNLIKELY(xrc != Success))
1121 LogFlowThisFunc(("Error in getting the window property: %s\n", gX11->xErrorToString(xrc).c_str()));
1154 xrc = XSendEvent(m_pDisplay, m_wndCur, False, NoEventMask, reinterpret_cast<XEvent*>(&m));
1155 if (RT_UNLIKELY(xrc == 0))
1185 xrc = XSendEvent(m_pDisplay, wndCursor, False, NoEventMask, reinterpret_cast<XEvent*>(&m));
1186 if (RT_UNLIKELY(xrc == 0))
1213 xrc = XSendEvent(m_pDisplay, wndCursor, False, NoEventMask, reinterpret_cast<XEvent*>(&m));
1214 if (RT_UNLIKELY(xrc == 0))
1254 int xrc = XSendEvent(m_pDisplay, m_wndCur, False, NoEventMask, reinterpret_cast<XEvent*>(&m));
1255 if (RT_UNLIKELY(xrc == 0))
1313 int xrc = XSendEvent(s.xselection.display, s.xselection.requestor, True, 0, &s);
1314 if (RT_UNLIKELY(xrc == 0))
1619 int xrc = XSendEvent(m_pDisplay, wndSource, True, NoEventMask, reinterpret_cast<XEvent*>(&m));
1620 if (RT_UNLIKELY(xrc == 0))
1659 int xrc = XSendEvent(m_pDisplay, wndSource, False, NoEventMask, reinterpret_cast<XEvent*>(&m));
1660 if (RT_UNLIKELY(xrc == 0))
1748 int xrc = XTestFakeButtonEvent(m_pDisplay, 1, fPress ? True : False, CurrentTime);
1749 if (RT_UNLIKELY(xrc == 0))
1780 int xrc = XSendEvent(m_pDisplay, eBtn.window, True /* fPropagate */,
1785 int xrc = XSendEvent(m_pDisplay, eBtn.window, False /* fPropagate */,
1789 if (RT_UNLIKELY(xrc == 0))