bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #5871] Mouse cursor not always updated/reset


From: M. Trache
Subject: [bug #5871] Mouse cursor not always updated/reset
Date: Wed, 24 May 2006 21:12:31 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3

Follow-up Comment #9, bug #5871 (project gnustep):

In XGServerWindow, the description for _DPSsetcursor:: states that it should
change the cursor on every X window owned by the application, yet I noticed
that the windowmaps map table also contains the root window. I didn't know
whether that is by design or not, so that extra bit of code in the patch just
skips the root window so that the cursor is changed only on the application's
actual windows.

With regards to the changes in NSCursor, when the NSCursor is explicitly set
on mouseEntered: (with setOnMouseEntered:), it does not get pushed onto the
cursor stack and therefore, whenever the mouse leaves the cursor rectangle,
the cursor does not change back. The extra bit of code basically changes the
cursor back to the default cursor, just for that particular situation.
Admittedly, it's a bit of a hack, but I wasn't really sure how else to deal
with that.. The bug is particularly visible in emacs.app
(emacs-on-aqua.sourceforge.net) whenever the mouse cursor is moved off the
text area, and the cursor remains an IBeam cursor. Hope this helps.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=5871>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]