[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: X11 Color Map creation problem, XAllocColorCells call throw BadValue error
From:       Alan Coopersmith <alan.coopersmith () oracle ! com>
Date:       2017-04-17 21:20:55
Message-ID: f22b0d65-132b-f8bb-37bf-b84802d75797 () oracle ! com
[Download RAW message or body]

On 04/10/17 02:48 AM, Subrata Dasgupta wrote:
> Hello All,
> I have an 32 bit X11 application running on RHEL 7 and use
> libX11-1.6.3-2.el7.i686 rpm X11 library. This application is facing problem
> while creating its own color map. Please suggest what changes need to be made in
> the following code to make it workable.
>
> This X11 application is getting BadValue error while calling XAllocColorCells
> function when I run the application from VNC. But it is working properly on
> Citrix. Application tries to create a new color map by calling XCreateColormap.

Have you compared the output of xdpyinfo on the two Xservers?  Perhaps they
simply offer different visuals or colormaps.

Do you even really need to create a colormap in the modern era instead of
relying on 24-bit TrueColor?   There's not that many 8-bit video cards
still in use.

-- 
	-Alan Coopersmith-              alan.coopersmith@oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic