Searched defs:dpy (Results 1 - 25 of 26) sorted by relevance

12

/solaris-x11-s12/open-src/app/cmap_compact/sun-src/
H A Dcmcdealloc.c36 Display *dpy; local
39 if (!(dpy = open_display(display_name)))
42 resource_discard(dpy);
44 XCloseDisplay(dpy);
H A Dcmcinit.c137 Display *dpy; local
142 if (!(dpy = open_display(display_name)))
147 XSynchronize(dpy, 1);
159 resource_discard(dpy);
172 if (scr_num >= ScreenCount(dpy)) {
176 screen = ScreenOfDisplay(dpy, scr_num);
194 resource_preserve(dpy);
196 XCloseDisplay(dpy);
H A Dcmcsave.c54 Display *dpy,
60 return _XDefaultError(dpy,err);
212 Display *dpy; local
217 if (!(dpy = open_display(display_name)))
222 XSynchronize(dpy, 1);
233 for (scr_num = 0; scr_num < ScreenCount(dpy); scr_num++) {
234 Screen *screen = ScreenOfDisplay(dpy, scr_num);
262 XCloseDisplay(dpy);
53 bad_handler( Display *dpy, XErrorEvent *err) argument
H A Dcmcutil.c40 disp_err_handler (Display *dpy) argument
53 Display *dpy; local
62 if (!(dpy = XOpenDisplay(dpyname)))
65 XSync(dpy, 0);
68 return dpy;
203 Display *dpy,
213 Atom atom = XInternAtom(dpy, name, 0);
216 XChangeProperty(dpy, w, atom, type, format, PropModeReplace,
230 Display *dpy)
233 Window w = DefaultRootWindow(dpy);
202 prop_update( Display *dpy, Window w, const char *name, Atom type, int format, int data, int nelem) argument
229 resource_preserve( Display *dpy) argument
252 resource_discard( Display *dpy) argument
[all...]
/solaris-x11-s12/open-src/app/accessx/sun-src/
H A DAccessXcomm.c77 #define _XRead32(dpy, data, len) _XRead((dpy), (char *)(data), (len))
80 static int XAccessXCloseDisplay(Display *dpy, XExtCodes *codes);
81 static Bool XAccessXWireToEvent(Display *dpy, XEvent *event, xEvent *wire);
82 static Status XAccessXEventToWire(Display *dpy, XEvent *event, xEvent *wire);
117 Bool XAccessXWireToEvent(Display *dpy,
121 Bool XAccessXWireToEvent(dpy,libevent,netevent)
122 Display *dpy;
127 XExtDisplayInfo *info = XAccessXFindDisplay(dpy);
131 XextCheckExtension(dpy,inf
158 XAccessXQueryExtension(Display *dpy, AccessXClientContextRec *accessXClient) argument
191 XAccessXQueryVersion(Display *dpy, AccessXClientContextRec *accessXClient, CARD8 *majorVersion, CARD8 *minorVersion) argument
234 XAccessXSelectInput(Display *dpy, AccessXClientContextRec *accessXClient, BYTE enable) argument
267 XAccessXQueryState(Display *dpy, AccessXClientContextRec *accessXClient, AccessXStateRec *accessXState) argument
320 XAccessXConfigure(Display *dpy, AccessXClientContextRec *accessXClient, CARD16 mask, AccessXStateRec *accessXState) argument
471 XAccessXInit(Display *dpy, AccessXClientContextRec *accessXClient) argument
[all...]
/solaris-x11-s12/open-src/app/gfx-utils/sun-src/gfx_common/vts/
H A Dgfx_vts.c247 Display *dpy) /* Connection to the X server */
251 if (dpy != NULL) {
252 while (XPending(dpy)) {
258 XNextEvent(dpy, &event);
246 gfx_vts_console_interrupt( Display *dpy) argument
/solaris-x11-s12/open-src/lib/libX11/sun-src/src/
H A DXInteractive.c64 #define IACheckExtension(dpy,i,val) \
65 XextCheckExtension (dpy, i, ia_extension_name, val)
80 #define IACheckExtension(dpy,i,val) \
82 /* XMissingExtension (dpy, ia_extension_name); */ \
125 static int ia_close_display(Display *dpy, XExtCodes *codes)
131 if (di->display == dpy) {
145 static char *ia_error_string (Display *dpy, int err, XExtCodes *codes,
152 XGetErrorDatabaseText (dpy, "XProtoError", tmp, ia_error_list[err],
159 static IAExtDisplayInfo *ia_find_display(Display *dpy)
164 if (di->display == dpy) {
208 XSolarisIAQueryVersion( Display *dpy, int *majorVersion, int *minorVersion ) argument
238 XSolarisIAGetProcessInfo( Display *dpy, unsigned char **Pinfo, CARD32 flags, int *count ) argument
281 XSolarisIASetProcessInfo( Display *dpy, unsigned char *Pinfo, CARD32 flags, CARD32 count ) argument
[all...]
/solaris-x11-s12/open-src/lib/libXext/sun-src/src/
H A DFBPM.c37 #define FBPMCheckExtension(dpy,i,val) \
38 XextCheckExtension (dpy, i, fbpm_extension_name, val)
46 static int close_display(Display *dpy, XExtCodes *codes);
75 Display *dpy,
79 XExtDisplayInfo *info = find_display (dpy);
91 Display *dpy,
95 XExtDisplayInfo *info = find_display (dpy);
99 FBPMCheckExtension (dpy, info, 0);
101 LockDisplay (dpy);
105 if (!_XReply (dpy, (xRepl
90 FBPMGetVersion( Display *dpy, int *major_versionp, int *minor_versionp) argument
117 FBPMCapable( Display *dpy) argument
142 FBPMEnable( Display *dpy, int state) argument
161 FBPMDisable( Display *dpy) argument
177 FBPMForceLevel( Display *dpy, CARD16 level) argument
203 FBPMInfo( Display *dpy, CARD16 *state, BOOL *onoff) argument
[all...]
H A DAllPlanes.c36 static int close_display(Display *dpy, XExtCodes *codes);
63 #define AllPlanesCheckExtension(dpy,i,val) \
64 XextCheckExtension (dpy, i, ext_name, val)
65 #define AllPlanesSimpleCheckExtension(dpy,i) \
66 XextSimpleCheckExtension (dpy, i, ext_name)
72 Display *dpy,
76 XExtDisplayInfo *info = find_display(dpy);
90 Display *dpy,
94 XExtDisplayInfo *info = find_display(dpy);
98 AllPlanesCheckExtension(dpy, inf
71 XAllPlanesQueryExtension( Display *dpy, int *event_basep, int *error_basep) argument
89 XAllPlanesQueryVersion( Display *dpy, int *major_versionp, int *minor_versionp) argument
118 XAllPlanesDrawPoints( Display *dpy, Drawable d, XPoint *points, int n_points, int mode) argument
176 XAllPlanesDrawLines( Display *dpy, Drawable d, XPoint *points, int npoints, int mode) argument
207 XAllPlanesDrawSegments( Display *dpy, Drawable d, XSegment *segments, int nsegments) argument
244 XAllPlanesDrawRectangles( Display *dpy, Drawable d, XRectangle *rects, int n_rects) argument
281 XAllPlanesFillRectangles( Display *dpy, Drawable d, XRectangle *rectangles, int n_rects) argument
[all...]
H A DXGrabWin.c56 static int WxError (Display *dpy,int mc);
66 Initialize(Display *dpy) argument
70 if (dpy->display_name[0] != ':') {
74 if (strncmp("unix",dpy->display_name,4) &&
75 strncmp("localhost",dpy->display_name,9) &&
76 strncmp(hostname,dpy->display_name,strlen(hostname))) {
82 if (XQueryExtension(dpy, "SunWindowGrabber",&X_WxExtensionCode,
85 else if (!strcmp(dpy->vendor,"X11/NeWS - Sun Microsystems Inc."))
91 Display *dpy,
98 Initialize(dpy);
90 XGrabWindow( Display *dpy, Window win) argument
125 XUnGrabWindow( Display *dpy, Window win) argument
161 XGrabColormap( Display *dpy, Colormap cmap) argument
190 XUnGrabColormap( Display *dpy, Colormap cmap) argument
220 XGrabRetainedWindow( Display *dpy, Window win) argument
249 XUnGrabRetainedWindow( Display *dpy, Window win) argument
279 XGetRetainedPath( Display *dpy, Window win, char *path) argument
315 WxError( Display *dpy, int mc) argument
[all...]
H A DXPanoramiX.c62 Bool XGetXineramaInfo(Display *dpy, int screen_number, XID VirtualWID, XineramaInfo *info);
68 #define PanoramiXCheckExtension(dpy,i,val) \
69 XextCheckExtension (dpy, i, panoramiX_extension_name, val)
70 #define PanoramiXSimpleCheckExtension(dpy,i) \
71 XextSimpleCheckExtension (dpy, i, panoramiX_extension_name)
73 static int close_display(Display *dpy, XExtCodes *codes);
74 static Bool wire_to_event(Display *dpy, XEvent *libevent, xEvent *netevent);
75 static Status event_to_wire(Display *dpy, XEvent *libevent, xEvent *netevent);
108 static Bool XineramaIsActive(Display *dpy);
127 Display *dpy,
139 XPanoramiXQueryExtension( Display *dpy, int *event_basep, int *error_basep) argument
156 XPanoramiXQueryVersion( Display *dpy, int *major_versionp, int *minor_versionp) argument
211 XPanoramiXGetState( Display *dpy, Drawable drawable, XPanoramiXInfo *panoramiX_info) argument
239 XPanoramiXGetScreenCount( Display *dpy, Drawable drawable, XPanoramiXInfo *panoramiX_info) argument
267 XPanoramiXGetScreenSize( Display *dpy, Drawable drawable, int screen_num, XPanoramiXInfo *panoramiX_info) argument
606 XineramaIsActive(Display *dpy) argument
631 XineramaQueryScreens( Display *dpy, int *number ) argument
[all...]
H A DTransOvl.c109 static int close_display(Display *dpy, XExtCodes *codes);
136 #define OvlCheckExtension(dpy,i,val) \
137 XextCheckExtension (dpy, i, ext_name, val)
138 #define OvlSimpleCheckExtension(dpy,i) \
139 XextSimpleCheckExtension (dpy, i, ext_name)
231 Display *dpy,
247 obj.screen = scr = ScreenOfDisplay(dpy, screen);
256 if (_XReply(dpy, (xReply *)(&rep), 0, xFalse)) {
273 _XRead(dpy, (char *)(&vidpair), sizeof(vidpair));
288 _XEatData(dpy, nbyte
230 find_screendata( Display *dpy, int screen, XExtDisplayInfo *info ) argument
357 GetNumMBXBuffers( Display *dpy, int screen, Visual *candidateVis, XExtDisplayInfo *info) argument
434 CheckSharedPixels( Display *dpy, int screen, XSolarisOvlSelectType searchtype, Visual *candidateVis, Visual *partnerVis, XExtDisplayInfo *info) argument
535 CheckSharedColors( Display *dpy, int screen, Visual *candidateVis, Visual *partnerVis, XExtDisplayInfo *info) argument
632 ComputeVisualMatch( Display *dpy, XOvlVisualMatch *match, XSolarisOvlVisualCriteria *pCriteria, XExtDisplayInfo *info) argument
801 XSolarisOvlQueryExtension( Display *dpy, int *event_basep, int *error_basep ) argument
820 XSolarisOvlQueryVersion( Display *dpy, int *major_versionp, int *minor_versionp) argument
849 XSolarisOvlCreateWindow( Display *dpy, Window parent, int x, int y, unsigned int width, unsigned int height, unsigned int border_width, int depth, unsigned int class, Visual *visual, unsigned long valuemask, XSetWindowAttributes *attr ) argument
909 XSolarisOvlIsOverlayWindow( Display *dpy, Window w ) argument
935 XSolarisOvlSetWindowTransparent( Display *dpy, Window w) argument
956 XSolarisOvlSetPaintType( Display *dpy, GC gc, XSolarisOvlPaintType paintType ) argument
1012 XSolarisOvlGetPaintType( Display *dpy, GC gc ) argument
1037 XSolarisOvlCopyPaintType( Display *dpy, Drawable src, Drawable dst, GC gc, int src_x, int src_y, unsigned int width, unsigned int height, int dest_x, int dest_y, unsigned long action_mask, unsigned long planemask ) argument
1080 XSolarisOvlCopyAreaAndPaintType( Display *dpy, Drawable colorSrc, Drawable paintTypeSrc, Drawable colorDst, Drawable paintTypeDst, GC colorGC, GC paintTypeGC, int colorSrcX, int colorSrcY, int paintTypeSrcX, int paintTypeSrcY, unsigned int width, unsigned int height, int colorDstX, int colorDstY, int paintTypeDstX, int paintTypeDstY, unsigned long action_mask, unsigned long planemask) argument
1138 XReadScreen( Display *dpy, Window w, int x, int y, unsigned int width, unsigned int height, Bool includeCursor ) argument
1205 XSolarisOvlSelectPartner( Display *dpy, int screen, VisualID vid, XSolarisOvlSelectType vistype, int numCriteria, XSolarisOvlVisualCriteria *pCriteria, XVisualInfo *visinfoReturn, unsigned long *unmetCriteriaReturn ) argument
1317 XSolarisOvlSelectPair( Display *dpy, int screen, int numCriteria, XSolarisOvlPairCriteria *pCriteria, XVisualInfo *ovVisinfoReturn, XVisualInfo *unVisinfoReturn, unsigned long *unmetOvCriteriaReturn, unsigned long *unmetUnCriteriaReturn) argument
[all...]
/solaris-x11-s12/open-src/app/fbconsole/sun-src/
H A Dfbconsole.c313 DisplayErrorHandler(Display *dpy) argument
348 Display *dpy,
361 if (dpy != NULL) {
362 fds[XSERVER_FD].fd = ConnectionNumber(dpy);
369 if ((dpy != NULL) && (fds[XSERVER_FD].revents)) {
370 while (XPending(dpy))
371 XNextEvent(dpy, &event);
398 Display *dpy = NULL; local
426 if ((dpy = XOpenDisplay(dpyName)) == NULL) {
433 dpyName = XDisplayString(dpy);
347 InputLoop( Display *dpy, int console, FILE *log) argument
[all...]
/solaris-x11-s12/open-src/lib/libXmu/sun-src/src/
H A DCmapEquiv.c160 XSolarisCheckColormapEquivalence(Display *dpy, int screen_number, argument
170 theAtom = XInternAtom(dpy, SUN_CMAP_EQUIV_ATOM_NAME, True);
174 if (!XGetWindowProperty(dpy, XRootWindow(dpy, screen_number), theAtom,
H A DVisGamma.c314 XSolarisGetVisualGamma (Display *dpy, int screen_number, Visual *visual, argument
332 CorrectAtom = XInternAtom (dpy, XDCCC_CORRECT_ATOM_NAME, False);
334 if (_XcmsGetProperty (dpy, XRootWindow(dpy, screen_number),
/solaris-x11-s12/open-src/lib/libdga/sun-src/
H A Ddga_db.c437 Display *dpy; local
464 if (!_dga_is_X_window(clientp->w_token, &dpy, &win)) {
475 if (!XDgaGrabBuffers(dpy, win, nbuffers)) {
524 Display *dpy; local
547 if (!_dga_is_X_window(clientp->w_token, &dpy, &win)) {
557 return (XDgaUnGrabBuffers(dpy, win));
H A Drtn_grab.c332 Display *dpy; local
385 if (!_dga_is_X_window(clientp->w_token, &dpy, &win)) {
396 XGetWindowAttributes(dpy,win,&attr);
410 if (!XDgaGrabRetainedWindow(dpy, win)) {
427 (void) XDgaUnGrabRetainedWindow(dpy, win);
508 Display *dpy; local
553 if (!_dga_is_X_window(clientp->w_token, &dpy, &win)) {
565 status &= XDgaUnGrabRetainedWindow(dpy, win);
630 Display *dpy; local
679 if (!_dga_is_X_window(clientp->w_token, &dpy,
[all...]
H A Ddga_Xrequests.h170 Display *dpy; member in struct:dga_xwinrec
178 Display *dpy; member in struct:dga_xpixrec
H A Ddga_ab.c36 extern int XDgaGrabABuffers(Display *dpy, Window win, int type, int buffer_site);
37 extern int XDgaUnGrabABuffers(Display *dpy, Window win, int type);
173 Display *dpy; local
200 if (!_dga_is_X_window(clientp->w_token, &dpy, &win)) {
265 if (!XDgaGrabABuffers(dpy, win, type, buffer_site)) {
342 Display *dpy; local
368 if (!_dga_is_X_window(dgawin->w_token, &dpy, &win)) {
450 if (!XDgaUnGrabABuffers(dpy, win, type)) {
H A Dpix_grab.c101 Display *dpy; local
117 * the dpy and pixid
119 if (!_dga_is_X_pixmap(pix, &dpy)) {
129 if (!XDgaGetRetainedPath(dpy, pix, path)) {
139 dpystr = DisplayString(dpy);
H A Ddga_Xrequests.c123 init_dga_ext(dpy)
124 Display *dpy;
134 if (dga_extinfo_table_size < (dpy->fd + 1)) {
143 if (size < (dpy->fd + 1))
159 if (dga_extinfo_table[dpy->fd] != NULL)
160 return dga_extinfo_table[dpy->fd];
162 if (!islocalhost(dpy))
165 if ((xecp = XInitExtension(dpy, "SUN_DGA")) != NULL) {
166 if (XDgaQueryVersion(dpy, &protmajor, &protminor) == 0) {
182 dga_extinfo_table[dpy
1162 dgai_grabDrawRequest(Display *dpy, Drawable drawid, int *drawType) argument
1205 dgai_ungrabDrawRequest(Display *dpy, Drawable drawid) argument
1239 XDgaGrabDrawable(Display *dpy, Drawable drawid) argument
1312 Display *dpy = dga_draw_display(dgadraw); local
[all...]
H A Dwin_grab.c61 * The application should call XDgaUnGrabWindow(dpy,win) after
328 dgai_win_grab_common (Display *dpy, int devfd, Dga_token token, int drawableGrabber) argument
343 if (!_dga_is_X_window(token, &dpy, &win)) {
420 if ((dpy != NULL) && drawableGrabber) {
550 clientp->w_dpy = dpy;
874 if ((dpy != NULL) && drawableGrabber) {
889 /* Call the common grab routine with dpy == NULL to signify that
/solaris-x11-s12/open-src/app/xmag_multivis/sun-src/
H A Dmultivis.c82 Display *dpy,
90 Display *dpy,
100 mvDpy = dpy;
105 mvShape = XShapeQueryExtension(dpy, &tmp, &tmp);
81 mvInit( Display *dpy, int screen, XVisualInfo *vlist, int num_vis, void *callbackData, mvCallbackFunc callbackFunction) argument
H A Dxmag_multivis.c76 Display *dpy = NULL; /* X server being used */ variable
133 if (dpy) {
134 XCloseDisplay (dpy);
135 dpy = NULL;
239 dpy = XOpenDisplay (displayname);
240 if (!dpy) {
255 allplanes = XAllPlanesQueryExtension(dpy, &tmp, &tmp);
259 wm_delete_window = XInternAtom(dpy, "WM_DELETE_WINDOW", False);
266 if (!pix_font) pix_font = XGetDefault (dpy, ProgramName, "font");
267 if (!pix_font) pix_font = XGetDefault (dpy, ProgramNam
[all...]
/solaris-x11-s12/open-src/app/dispswitch/sun-src/
H A Ddispswitch.c66 static Display *dpy = NULL; variable
484 XRRCrtcInfo *crtc_info = XRRGetCrtcInfo (dpy, res, res->crtcs[c]);
553 return XRRSetCrtcConfig (dpy, res, crtc->crtc.xid, CurrentTime,
567 return XRRSetCrtcConfig (dpy, res, crtc->crtc.xid, CurrentTime,
602 s = XRRSetCrtcConfig (dpy, res, crtc->crtc.xid, CurrentTime,
617 XRRSetScreenSize (dpy, root,
618 DisplayWidth (dpy, screen),
619 DisplayHeight (dpy, screen),
620 DisplayWidthMM (dpy, screen),
621 DisplayHeightMM (dpy, scree
1516 grab_key(Display *dpy, int keysym, unsigned int modifier, Window grab_window) argument
[all...]

Completed in 3207 milliseconds

12