Re: Pointer hooks
- From: Tim Janik <timj gtk org>
- To: Owen Taylor <otaylor redhat com>
- Cc: Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Re: Pointer hooks
- Date: Mon, 2 Jul 2001 07:53:49 +0200 (CEST)
On 2 Jul 2001, Owen Taylor wrote:
>
> This look like what you want for '56914 Add virtualization of XQueryPointer'?
>
> I haven't actually tried running it yet, but it compiles, and I
> don't think there is a whole lot I could have gotten wrong here.
jup, i think so, so far gerd-xwrapper.c only had to intercept
XQueryPointer().
however, grepping through the gdk sources, we also use XQueryPointer() in
void
handle_motion_notify(XDeviceMotionEvent *event)
{ ... }
i'm not sure how that correlates, since i don't know when that function
is actually triggered and why it doesn't have a gdk_ prefix.
of course this virtualization stuff will only work:
- if we don't add XQueryPointer() to other (newly introduced) gdk functions
during a stable release (for devel we could virtualize such a function
as well then)
- if XQueryPointer() is indeed the only thing that X offers to query current
state (though it looks like this as all other things are delivered per
events)
with this virtualization, GERD should become gdk-backend independant, which
would actually be pretty cool.
>
> Regards,
> Owen
>
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]