Hi, The problem with the lines not drawn correctly occurs when calling XCreateSimpleWindow. The program I have uses XCreateSimpleWindow to create the buttons and their borders. When I increase the size of the border in XCreateSimpleWindow and turn off all other decorations, this is what I see: It is interesting to see part of the quartz-wm frame imposed on the button borders. My guess is that the border pixmap is not being created/shown correctly in the server. Looking through dix/window.c and mi/miexpose.c a lot has changed between the 1.4 and 1.5 versions of the server, so I don't think I'll be much help in tracking down the problem. Martin On Sep 15, 2009, at 3:07 PM, Jeremy Huddleston wrote:
Hi Martin,
My hunch is that the white is actually "nothing" rather than "white" ... the default color if we were to put nothing there is white... so I think some blt just isn't happening and somewhere in the pipe, the ball is getting dropped, but I have no idea "where" in the pipe that is and haven't done much research into it just yet. I've been more concerned with (1) fixing issues in the 1.4 server, (2) getting X11 building into another prefix for SnowLeopard, and (3) figuring out some bugs with the build system that are causing me headaches under SnowLeopard (hence the 2.4.1-alpha1 delay).
On Sep 15, 2009, at 09:34, Martin Otte wrote:
I think a similar problem has been mentioned before, but in the 1.5 server sometimes lines are not drawn correctly. Here is an example from an application that uses its own custom toolkit, where the lines around each button are not drawn.
Attached is a screen shot of how the buttons display correctly in server 1.4,
<server_14.png>
and another screen shot of how the buttons appear incorrectly in server 1.5 without the borders.
<server_15.png>
I need to investigate whether the black outlines are being drawn as white, or if just a white shadow from underneath is being displayed over the black outlines. I also tried one of the 1.6 servers from the download site, and it shows the same behavior as the 1.5 server.
Is there anything I can do to help locate where in the server this could be happening?
Thanks, Martin
_______________________________________________ Xquartz-dev mailing list Xquartz-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
_______________________________________________ Xquartz-dev mailing list Xquartz-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev