Re: gdkwindow - gdk_window_get_pointer and gdk_window_at_pointer

On Tue, 2004-08-31 at 16:30, Kent Sandvik wrote:
> Hi, why is gdk_window_get_pointer() and gdk_window_at_pointer()
> ignoring the passed in win_x and win_y mouse pointer values? Instead
> they are using temp variables, and based on the compiler the temp
> variables  might have somewhat OK values (as the code base is not
> initializing temp stack variables to either correct or incorrect
> values) that then later will cause no focus and no hi-light happening
> for the mouse-over event generation (that relies on a valid GtkWindow
> returned based on the mouse pointer values)?
> In case the APIs have changed, could the passed in win_x and win_y
> values be removed so that there are no misunderstandings?

I think basically you just need to reread those functions a few more
times. Remember that win_x/win_y are *out* parameters. Places to store
the retrieved values.


Attachment: signature.asc
Description: This is a digitally signed message part

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