Re: Some name changes for multihead



On 18 Jun 2002, Sven Neumann wrote:

> Hi,
> 
> Owen Taylor <otaylor redhat com> writes:
> 
> > The other ones I want to change (also very common, 
> > unfortunately) are:
> > 
> >  gdk_display_pointer_ungrab()  => gdk_display_ungrab_pointer()
> >  gdk_display_keyboard_ungrab() => gdk_display_ungrab_keyboard()
> 
> I think that the current API makes a lot of sense since it keeps
> the related functions together visually as well as when sorting
> them:
> 
> GdkGrabStatus gdk_pointer_grab       (GdkWindow    *window,
> void          gdk_pointer_ungrab     (guint32       time);
> gboolean      gdk_pointer_is_grabbed (void);
> 
> GdkGrabStatus gdk_keyboard_grab      (GdkWindow    *window,
> void          gdk_keyboard_ungrab    (guint32       time);
> 
> ...

related to that, i'd actually call the display specific versions:

gdk_pointer_grab_display()
gdk_keyboard_grab_display()

but oh well, owen probably wants to keep them in the gdk_display*
namespace.

---
ciaoTJ




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