2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
PR libgcj/19842
* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
(button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
From-SVN: r95382
+2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ PR libgcj/19842
+ * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
+ (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
+
2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
Merge serialization from GNU Classpath.
switch (button)
{
case 1:
- return AWT_BUTTON1_DOWN_MASK;
+ return AWT_BUTTON1_MASK;
case 2:
- return AWT_BUTTON2_DOWN_MASK;
+ return AWT_BUTTON2_MASK;
case 3:
- return AWT_BUTTON3_DOWN_MASK;
+ return AWT_BUTTON3_MASK;
}
return 0;