Mercurial > hg > xemacs-beta
diff src/device-x.c @ 284:558f606b08ae r21-0b40
Import from CVS: tag r21-0b40
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:34:13 +0200 |
parents | c42ec1d1cded |
children | e11d67e05968 |
line wrap: on
line diff
--- a/src/device-x.c Mon Aug 13 10:33:19 2007 +0200 +++ b/src/device-x.c Mon Aug 13 10:34:13 2007 +0200 @@ -489,8 +489,8 @@ depth = DefaultDepth(dpy, screen); } - /* If we've got the same visual as the default and its PseudoColor, check to see if the user - specified that we need a private colormap */ + /* If we've got the same visual as the default and it's PseudoColor, + check to see if the user specified that we need a private colormap */ if (visual == DefaultVisual(dpy, screen)) { sprintf (buf1, "%s.privateColormap", app_name); @@ -1403,24 +1403,24 @@ switch (m) { - case size_device: + case DM_size_device: return Fcons (make_int (DisplayWidth (dpy, DefaultScreen (dpy))), make_int (DisplayHeight (dpy, DefaultScreen (dpy)))); break; - case size_device_mm: + case DM_size_device_mm: return Fcons (make_int (DisplayWidthMM (dpy, DefaultScreen (dpy))), make_int (DisplayHeightMM (dpy, DefaultScreen (dpy)))); break; - case num_bit_planes: + case DM_num_bit_planes: return make_int (DisplayPlanes (dpy, DefaultScreen (dpy))); break; - case num_color_cells: + case DM_num_color_cells: return make_int (DisplayCells (dpy, DefaultScreen (dpy))); break; } /* Do not know such property */ - return Qnil; + return Qunbound; } DEFUN ("x-server-vendor", Fx_server_vendor, 0, 1, 0, /*