Are there really 32-bit displays? I thought that those were all 24-bit displays
with 8-bits padding?
Would there really be any harm in claiming that a map with 4,294,967,296 cells
has "only" 16,777,216 for this purpose? Or EMACS_MAX_INT?
(Sorry for the top-post.)
On Sat, Mar 12, 2011 at 4:20 AM, Jeff Sparkes <jsparkes(a)gmail.com> wrote:
(display-color-cells) returns 256 on my 24 bit X display. It returns
0 on
ms-windows. (It also returns 256 on gtk devices).
What's happening is that it's returning the size of the default colormap,
not largest possible one.
I made it return a float to avoid overflow with a 32 bit depth display.
--
Jeff Sparkes
jsparkes(a)gmail.com
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta