Re: change cursor while it is grabbed
- From: Owen Taylor <otaylor redhat com>
- To: Dennis Bjorklund <db zigo dhs org>
- Cc: <gtk-devel-list gnome org>
- Subject: Re: change cursor while it is grabbed
- Date: Mon, 28 Jan 2002 11:35:46 -0500 (EST)
Dennis Bjorklund <db zigo dhs org> writes:
> There does not seem to be a way to change the cursor while the pointer is
> grabbed. In X there is a function XChangeActivePointerGrab() that one can
> use, but it is not wrapped.
>
> I already created a bug in bugzilla about it, someone suggested that I
> should mail here too. I don't know how often people look at the bugs so
> maybe it is a good idea.
Actually, I spend more time these days looking at the bugs than _not_
looking at the bugs...
> http://bugzilla.gnome.org/show_bug.cgi?id=69883
Here's what I said in the bug report:
You can actually just gdk_pointer_grab() again; I believe that
there is no semantic difference between calling GrabPointer
again with everything the same except for the fields in
ChangeActivePointerGrab and calling ChangeActivePointerGrab,
though GrabPointer is a little more expensive since it is
a round trip to the server. (ChangeActivePointerGrab has
no return code, it just silently does nothing [if it fails].)
I put it on the 'future' milestone, but I'm not sure that it shouldn't
just be closed; the functionality is there so expanding the API
further may not be worth it just for a small efficiency win.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]