Re: Color support added to HW accelerated cursor

2004-04-28 Thread Alexander Gottwald
On Tue, 27 Apr 2004, Earle F. Philhower III wrote: There was one minor change I just committed, you need to always free the GetIconInfo, not only when it comes back as an icon... Argl. It seems I need more coffee ;) -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723

Re: Color support added to HW accelerated cursor

2004-04-27 Thread Alexander Gottwald
On Mon, 26 Apr 2004, Earle F. Philhower III wrote: Howdy Alexander, [From your CVS log] CreateIconIndirect sometimes creates an Icon instead of an Cursor. This breaks the hotspot and makes the cursor unusable. Discard the garbled cursor and revert to simple bw cursor. That's got

Re: Color support added to HW accelerated cursor

2004-04-27 Thread Earle F. Philhower III
Howdy! At 10:12 AM 4/27/2004 +0200, Alexander wrote: Have you got any idea what could be going on here? That's a perfectly fine workaround you've put in to catch when the OS call silently fails, but I can't imagine what the root cause would be... I'll check the MSDN Knowledge base. I bet it

Re: Color support added to HW accelerated cursor

2004-04-27 Thread Alexander Gottwald
On Tue, 27 Apr 2004, Earle F. Philhower III wrote: Don't worry, I figured it out. You need a compatible bitmap on pre-XP systems, which isn't exactly what I was doing by hand in the code. The fixed code is much shorter now, and has none of the complicated cases for different bit depths

Re: Color support added to HW accelerated cursor

2004-04-27 Thread Alexander Gottwald
On Tue, 27 Apr 2004, Alexander Gottwald wrote: I've justed tested it. Works like a charm. hm. It seems I forgot to remove thw -swcursor flag again. It did not work :(. But I've fixed it by generating the cursor from the icon bitmaps. bye ago -- [EMAIL PROTECTED]

Re: Color support added to HW accelerated cursor

2004-04-27 Thread Earle F. Philhower III
Howdy again, At 11:17 AM 4/27/2004 +0200, Alexander Gottwald wrote: hm. It seems I forgot to remove thw -swcursor flag again. It did not work :(. But I've fixed it by generating the cursor from the icon bitmaps. Arrgh! I swear it works under W95 and XP, all depths I can throw at it! Honest! :)

Re: Color support added to HW accelerated cursor

2004-04-26 Thread Alexander Gottwald
On Sun, 25 Apr 2004, Earle F. Philhower III wrote: My CVS commit emails are in limbo, Are you subscribe to xorg-commit or xorg-commit-diffs? The script which generates messages for xorg-commit-diffs was disabled since it does not work stable. But xorg-commit has all your commit logs. For

Re: Color support added to HW accelerated cursor

2004-04-26 Thread Harold L Hunt II
Alexander Gottwald wrote: On Sun, 25 Apr 2004, Earle F. Philhower III wrote: My CVS commit emails are in limbo, Are you subscribe to xorg-commit or xorg-commit-diffs? The script which generates messages for xorg-commit-diffs was disabled since it does not work stable. But xorg-commit has all

Re: Color support added to HW accelerated cursor

2004-04-26 Thread Alexander Gottwald
On Sun, 25 Apr 2004, Earle F. Philhower III wrote: My CVS commit emails are in limbo, but just a heads up that I've checked in a change to the HW accelerated cursor routines to add support for non black-and-white cursors. Initially it only supports 2-colored cursors (try set-mouse-color in

Re: Color support added to HW accelerated cursor

2004-04-26 Thread Earle F. Philhower III
Howdy, At 03:53 PM 4/26/2004 +0200, Alexander Gottwald wrote: The hotspots of the cursor are garbled. multiwindow xterm: moving the cursor from the titlebar into to window changes the cursor from arrow to text-input and the cursor jumps. The bottom line of the text-input cursor is now right

Re: Color support added to HW accelerated cursor

2004-04-26 Thread Alexander Gottwald
On Mon, 26 Apr 2004, Earle F. Philhower III wrote: Howdy, At 03:53 PM 4/26/2004 +0200, Alexander Gottwald wrote: The hotspots of the cursor are garbled. multiwindow xterm: moving the cursor from the titlebar into to window changes the cursor from arrow to text-input and the cursor

Re: Color support added to HW accelerated cursor

2004-04-26 Thread Earle F. Philhower III
Howdy Alexander, [From your CVS log] CreateIconIndirect sometimes creates an Icon instead of an Cursor. This breaks the hotspot and makes the cursor unusable. Discard the garbled cursor and revert to simple bw cursor. That's got to be one of the strangest things I've seen in a long time.

Re: Color support added to HW accelerated cursor

2004-04-25 Thread Lev S Bishop
Earle wrote: Anyone who knows any apps that compile under cygwin that use the render cursors, I'd be interested in hearing about them so I can do some coding and testing... Well, emacs compiles under cygwin, but the version distributed with cygwin doesn't use render. But I know for a fact

Re: Color support added to HW accelerated cursor

2004-04-25 Thread Earle F. Philhower III
Howdy, At 07:28 PM 4/25/2004 -0400, Lev S Bishop wrote: Well, emacs compiles under cygwin, but the version distributed with cygwin doesn't use render. But I know for a fact that the version I'm using right now (on a remote machine) does use ARGB cursors so there must be compile-time options to