Index: [thread] [date] [subject] [author]
  From: Marcus Sundberg <mackan@stacken.kth.se>
  To  : ggi-develop@eskimo.com
  Date: Sun, 18 Jul 1999 22:21:46 +0000

Re: Patch for disabling ggi messing with X's cursor

Osku Salerma wrote:
> 
> I have an app that uses a small 256x256 window in addition to a normal
> xterm for displaying some data graphically, and also for getting mouse
> clicks. However, the normal ggi behavior of setting the cursor for the
> window to some ridiculously small dot that's almost impossible to see
> is rather bizarre. What's wrong with keeping the normal X cursor as it
> is?

Your question is incorrect. The correct question is "why is the cursor
not completely invisible?". And the answer is that when starting to
move the cursor out of the GGI window you can see it before it exits
the window, which gives you better precission. This is the only
reason we have a visible X cursor at this time, and the reason it is
so small is that it shouldn't disturb the application's real cursor.

All targets don't support hardware cursors. Even when the infamous
cursor extension is written applications will still have to implement
a software cursor to work on targets that doesn't have a hw cursor.
Start with the software implementation, and then when the cursor
extension is ready you can take advantage of it if your application
benefits from that.

Ofcourse anyone is free to mis-use LibGGI in whatever way they want.
But it was designed to inspire portable applications that will run
with full functionality everywhere, and no patches which contradicts
this goal without adding substantial value will be accepted.

The cleanup of the option handling aside from the defcursor stuff
is nice though, will put that in.

//Marcus
-- 
-------------------------------+------------------------------------
        Marcus Sundberg        | http://www.stacken.kth.se/~mackan/
 Royal Institute of Technology |       Phone: +46 707 295404
       Stockholm, Sweden       |   E-Mail: mackan@stacken.kth.se

Index: [thread] [date] [subject] [author]