Re: autoscrolling via leave_notify
- From: Havoc Pennington <hp redhat com>
- To: Paul Davis <pbd op net>
- Cc: gtk-list gnome org
- Subject: Re: autoscrolling via leave_notify
- Date: 28 Sep 2001 11:52:20 -0400
Paul Davis <pbd op net> writes:
> yeah, so i gathered. what's with the fake event delivered in
> horizontal_timeout? it seems odd - there are several places where
> gtk_clist_motion() looks into the event struct, but from the timeout
> functions, the fields aren't set ... i'd like to understand this,
> since "sending" a new motion notify seems like a cool way to do
> this.
It appears that event->window is NULL so not widget->window and then
this is done:
if (event->is_hint || event->window != widget->window)
gtk_widget_get_pointer (widget, &x, NULL);
Or something. Basically it's really broken, don't copy this code. ;-)
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]