Small tweak to HW accelerated cursor committed
As usual my CVS commit emails are in limbo, but just a heads up that I've checked in a small change to the HW accelerated cursor routines. Before it would set the cursor no matter where the mouse was, even in the title bar. (Drag an xterm in multiwindow mode quickly and see the Windows cursor change to the X root cursor or the insertion bar depending on where you're dragging over on the X hidden root window...it's a race condition so sometimes it will show, sometimes not.) The new changes check to see if the current cursor position is outside of a window's client rect, and if so then it creates the cursor (for later WM_SETCURSOR events) but does not SetCursor() it. The WM_SETCURSOR handler will take care of it when the mouse moves back into the client region. It's also possible to create color Win32 cursors dynamically, not just black and white ones, through the use of CreateIcon (really!). I don't have any way of testing this at all so I haven't done any work on it. Are there any apps that compile under cygwin that set the X11 cursor color? -Earle F. Philhower, III [EMAIL PROTECTED] cdrlabel - ZipLabel - FlpLabel http://www.cdrlabel.com
Re: xterm-186 build bustage
On Sat, 24 Apr 2004, Harold L Hunt II wrote: If anyone wants to help me with something, grab the xterm-186 original source (google for 'xterm', you'll find it), grab the -src package for our xterm-185 package, copy and rename xterm-185-*.sh to xterm-186-1.sh and try 'xterm-186-1.sh mkdirs xterm-186-1.sh conf xterm-186-1.sh'. You'll quickly note that 'X.Org Foundation' is somehow getting into CFLAGS as a raw string, causing gcc to bork. It seems that this may be somehow caused by macros in xterm's configure scripts that copy the CFLAGS set by the imake configuration files. most likely it's coming from imake I haven't got a heck of a lot of time to look into this, so I would appreciate it if anyone with a little understanding of auto* and shell scripts could take a peek at why xterm is failing to build under Cygwin/X at the moment. Harold -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
Re: xterm-186 build bustage
On Sat, 24 Apr 2004, Harold L Hunt II wrote: If anyone wants to help me with something, grab the xterm-186 original source (google for 'xterm', you'll find it), grab the -src package for our xterm-185 package, copy and rename xterm-185-*.sh to xterm-186-1.sh and try 'xterm-186-1.sh mkdirs xterm-186-1.sh conf xterm-186-1.sh'. Harold, Didn't you mean the last command to be 'xterm-186-1.sh build'? Also, this will only work if a) you unpack xterm-186.tar.gz by hand prior to running the commands, and b) you have . in your ${PATH} (but those are nitpicks and easy to figure out). You'll quickly note that 'X.Org Foundation' is somehow getting into CFLAGS as a raw string, causing gcc to bork. It seems that this may be somehow caused by macros in xterm's configure scripts that copy the CFLAGS set by the imake configuration files. WFM. I just built xterm.exe (and resize.exe) with no errors using the above recipe. Did I, by chance, grab the wrong source tarball? I got the one from http://dickey.his.com/xterm/xterm.html (direct link: ftp://invisible-island.net/xterm/xterm.tar.gz). FWIW, that tarball contains no occurrences of X.Org anywhere. Also, if it matters, I used xterm-185-4.sh. However, with the CVS version I did get a too many decimal points in a number error. I suspect it's a quoting issue -- XVERSION should have been defined as a string, and it was missing the quotes. An extra level of shell invocation probably stripped them out. I'll investigate... I haven't got a heck of a lot of time to look into this, so I would appreciate it if anyone with a little understanding of auto* and shell scripts could take a peek at why xterm is failing to build under Cygwin/X at the moment. Harold -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! I have since come to realize that being between your mentor and his route to the bathroom is a major career booster. -- Patrick Naughton
delete me from the forum
i don't want to take any more mails from this forum.what have i to do? _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus
Re: Small tweak to HW accelerated cursor committed
Okay, just released that tweak as xorg-x11-xwin-6.7-6. Thanks, Harold Earle F. Philhower III wrote: As usual my CVS commit emails are in limbo, but just a heads up that I've checked in a small change to the HW accelerated cursor routines. Before it would set the cursor no matter where the mouse was, even in the title bar. (Drag an xterm in multiwindow mode quickly and see the Windows cursor change to the X root cursor or the insertion bar depending on where you're dragging over on the X hidden root window...it's a race condition so sometimes it will show, sometimes not.) The new changes check to see if the current cursor position is outside of a window's client rect, and if so then it creates the cursor (for later WM_SETCURSOR events) but does not SetCursor() it. The WM_SETCURSOR handler will take care of it when the mouse moves back into the client region. It's also possible to create color Win32 cursors dynamically, not just black and white ones, through the use of CreateIcon (really!). I don't have any way of testing this at all so I haven't done any work on it. Are there any apps that compile under cygwin that set the X11 cursor color? -Earle F. Philhower, III [EMAIL PROTECTED] cdrlabel - ZipLabel - FlpLabel http://www.cdrlabel.com
Re: delete me from the forum
On Sat, Apr 24, 2004 at 07:16:24PM +0300, hercules zzz wrote: i don't want to take any more mails from this forum.what have i to do? Go to http://cygwin.com/lists.html and scroll down to the form which lets you subscribe or unsubscribe from cygwin mailing lists. If that doesn't work, visit this page: http://sources.redhat.com/lists.html#unsubscribe-simple keep reading from steps 3. through 6. and you will be able to unsubscribe.