Re: binary compatibility considerations wrt multihead support



Erwann Chenede <Erwann Chenede Sun COM> writes:
> >> On the API compatibility side I wondering how to handle/modify
> >> GdkPointerHooks to support multihead.
> >> 
> >> At the moment we have GdkPointerHooks defining get_window_at_pointer
> >> function like this :
> >> GdkWindow* (*window_at_pointer) (gint            *win_x,
> >>                                  gint            *win_y);
> >> To make it work for multihead, I'll need sometime like this :
> >> GdkWindow* (*window_at_pointer) (GdkScreen       *screen,
> >> 				 gint            *win_x,
> >>                                  gint            *win_y);                                 
> >Yes, that looks necessary.
> 
> So should I only add a dummy gpointer here ?

Either that or we have to add different hooks for use with
multihead. GtkMultiHeadPointerHooks? 

I like the dummy pointer better I suppose, don't know what others think.

Havoc



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