Author: cjcollier
Date: 2007-12-20 19:36:11 -0500 (Thu, 20 Dec 2007)
New Revision: 91747
Modified:
trunk/gtkglarea-sharp/ChangeLog
trunk/gtkglarea-sharp/examples/pick-object/PickWidget.cs
Log:
2007-12-20T1705 C.J. Adams-Collier <[EMAIL PROTECTED]>
Overview (from Sam Hocevar): Minor issue in gtkglarea-sharp's
PickWidget.cs: the right mouse button is ignored upon press,
but
not upon release, leading to weird behaviour.
* examples/pick-object/PickWidget.cs
- ignoring right mouse button on release
Modified: trunk/gtkglarea-sharp/ChangeLog
===================================================================
--- trunk/gtkglarea-sharp/ChangeLog 2007-12-21 00:21:10 UTC (rev 91746)
+++ trunk/gtkglarea-sharp/ChangeLog 2007-12-21 00:36:11 UTC (rev 91747)
@@ -1,3 +1,12 @@
+2007-12-20T1705 C.J. Adams-Collier <[EMAIL PROTECTED]>
+
+ Overview (from Sam Hocevar): Minor issue in gtkglarea-sharp's
+ PickWidget.cs: the right mouse button is ignored upon press, but
+ not upon release, leading to weird behaviour.
+
+ * examples/pick-object/PickWidget.cs
+ - ignoring right mouse button on release
+
2007-12-20T1649 C.J. Adams-Collier <[EMAIL PROTECTED]>
Overview (from Sam Hocevar): The gtkglarea-sharp build process
Modified: trunk/gtkglarea-sharp/examples/pick-object/PickWidget.cs
===================================================================
--- trunk/gtkglarea-sharp/examples/pick-object/PickWidget.cs 2007-12-21
00:21:10 UTC (rev 91746)
+++ trunk/gtkglarea-sharp/examples/pick-object/PickWidget.cs 2007-12-21
00:36:11 UTC (rev 91747)
@@ -135,9 +135,10 @@
void OnButtonRelease (object o, Gtk.ButtonReleaseEventArgs e)
{
- if(e.Event.Button == 1){
- button1Pressed = false;
- }
+ if(e.Event.Button != 1)
+ return;
+
+ button1Pressed = false;
if(this.CurrentInputMode == GtkGL.InputMode.PickMode){
// This document is based on the following
example:
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches