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



On 3 Dec 2000, Owen Taylor wrote:

> 
> Index: ChangeLog
> ===================================================================
> RCS file: /cvs/gnome/gtk+/ChangeLog,v
> retrieving revision 1.1061.2.289
> diff -u -r1.1061.2.289 ChangeLog
> --- ChangeLog	2000/12/02 17:58:58	1.1061.2.289
> +++ ChangeLog	2000/12/03 16:49:11
> @@ -1,3 +1,11 @@
> +Sun Dec  3 11:44:07 2000  Owen Taylor  <otaylor redhat com>
> +
> +	* gdk/gdkevents.c: Strip GDK_RELEASE_MASK out of 
> +	the state we get from X as a temporary hack to
> +	deal with the fact that GDK_RELEASE_MASK has the
> +	same values as bits used by XFree86 to indicate the
> +	keyboard group. (After patch from Vlad Harchev)
> +

 Thanks!
 
 Best regards,
  -Vlad





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