This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: screen redraw problem
- From: "J S" <vervoom at hotmail dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Fri, 07 Nov 2003 12:42:06 +0000
- Subject: Re: screen redraw problem
- Bcc:
- Reply-to: cygwin-xfree at cygwin dot com
Harold,
Many thanks for email. I have created an XFree debug build now and a
symbolic link from /usr/X11R6_suffix/lib/X11/fonts to
/usr/X11R6/lib/X11/fonts.
In order to debug this though, what's the best approach?
For example, should I use any flags on the xwin command line? Do you use gdb
to do the debugging? If so, could you just give me a clue as to where I
might want to set the breakpoint given the nature of the problem?
Sorry to ask for spoon-feeding on this!! Thanks again though.
JS.
JS,
Start here:
http://xfree86.cygwin.com/docs/cg/prog-obtaining-source.html
Then read how to compile:
http://xfree86.cygwin.com/docs/cg/prog-build-native.html
Notice that towards the bottom of the above section it tells how to do a
"Standard Build" and a "Debug Build". The debug build uses the "makeg"
script, so you don't have to edit any Imakefiles or config files.
Finally, read how to move your current X installation safely out of the way
before installing your local build:
http://xfree86.cygwin.com/docs/cg/prog-build-native.html#prog-compiling-install
As an absolute last step, if you created a host.def file that said not to
build fonts (look at xf86site.def for an example), then you need to cut and
paste C:\cygwin\usr\X11R6_suffix\lib\X11\fonts to
C:\cygwin\usr\X11R6\lib\X11\fonts. Cutting and pasting is an instantaneous
operation. Copying the files would take up to an hour, as there are around
20,000 font files. Just be sure that you cut and paste that fonts folder
into another folder before you delete one of your test installations. You
don't want to end up deleting that folder... you would be in a world of
hurt.
Harold
J S wrote:
Ha ! OK I'll try to be that guy! What's the best way to do this? Recompile
XWin with the -g flag? Is there anything to change in the Makefile?
Haven't done this before so would appreciate any pointers.
Thanks a lot.
JS,
Looks like you have found a generic problem with X or one of the
libraries you are using. It is going to take a lot of debugging... you
are going to have to be that guy.
Harold
J S wrote:
Is there anymore information I need to add to this post? I would really
like to get some help with it. The logs don't seem to be showing
anything. I've tried setting different color depths, and screen
resolutions but to no avail.
Hi,
I have an application which has some boxes in the window. The window
itself
is scrollable. When I scroll down - no problem, but when I scroll up
the
boxes turn into long vertical bars. This problem doesn't happen with
Exceed,
but on XFree86 (both Linux XFree86 and Cygwin-XFree) it does.
Can anyone advise me whether this is a bug, or is there some setting I
need
to add? Let me know if you need anymore information.
Thanks for any help.
JS.
_________________________________________________________________
Stay in touch with absent friends - get MSN Messenger
http://www.msn.co.uk/messenger
_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today!
http://www.msn.co.uk/messenger
_________________________________________________________________
Hotmail messages direct to your mobile phone http://www.msn.co.uk/msnmobile