gzz-commits
[Top][All Lists]
Advanced

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

[Gzz-commits] fenfire/org/fenfire/util ControlBinding.java


From: Matti Katila
Subject: [Gzz-commits] fenfire/org/fenfire/util ControlBinding.java
Date: Tue, 24 Jun 2003 10:30:27 -0400

CVSROOT:        /cvsroot/fenfire
Module name:    fenfire
Branch:         
Changes by:     Matti Katila <address@hidden>   03/06/24 10:30:27

Modified files:
        org/fenfire/util: ControlBinding.java 

Log message:
        accurse only for drags

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/fenfire/fenfire/org/fenfire/util/ControlBinding.java.diff?tr1=1.6&tr2=1.7&r1=text&r2=text

Patches:
Index: fenfire/org/fenfire/util/ControlBinding.java
diff -u fenfire/org/fenfire/util/ControlBinding.java:1.6 
fenfire/org/fenfire/util/ControlBinding.java:1.7
--- fenfire/org/fenfire/util/ControlBinding.java:1.6    Mon Jun 23 14:16:19 2003
+++ fenfire/org/fenfire/util/ControlBinding.java        Tue Jun 24 10:30:27 2003
@@ -78,8 +78,8 @@
        if (accursedObj == null) 
            accursedObj = forObject;
        if (accursedObj == null) throw new Error("No accursed object!");
-       Object object = accursedObj;
-       
+       Object object = forObject;
+               
         if (event.getID() == event.MOUSE_PRESSED) {
             pressState = event;
             return FAST;
@@ -136,6 +136,7 @@
             return FAST;
         }
 
+        object = accursedObj;
         boolean ret = FAST;
         if (event.getID() == event.MOUSE_DRAGGED) {
             if (dbg) p("It's a drag!");




reply via email to

[Prev in Thread] Current Thread [Next in Thread]