Re: [PATCH] guarantee that (GdkEventKey.state & GDK_RELEASE_MASK)is 0 in gdk_event_translate()



On Mon, 28 Aug 2000, Vlad Harchev wrote:

>  Hi, 
> 
>  This patch fixes a nasty bug in gdk, that prevents signals
> registered in bindingsets without GDK_RELEASE_MASK modifier to be emitted when
> alternative keyboard language is active (since at least
> XFree86-3.3.3 sets 13th bit (the one that set in GDK_RELEASE_MASK) of
> xevent->xkey.state to 1 in that case).

 Just noticed that gtk-1.3.1 redefines GDK_RELEASE_MASK as 1<<31 (instead of 
1<<13 in gtk-1.2.x). Anyway, IMO this patch should go in 1.2.x branch since it
won't break binary compatibility but fixes the problem.

 Best regards,
  -Vlad






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