Only xclick can catch callback execution.
[scilab.git] / scilab / modules / gui / src / java / org / scilab / modules / gui / events / Jxgetmouse.java
index a916cf9..26b8323 100644 (file)
@@ -77,6 +77,12 @@ public final class Jxgetmouse {
                 mouseActionFilter(mouseEvent, axesUID, scilabMouseAction, isControlDown);
             }
         });
+        
+        /*
+         *  Force xgetmouse not to catch/disable callback execution.
+         */
+        GlobalEventWatcher.disableableCatchingCallback();
+        
         synchronized (ClickInfos.getInstance()) {
             try {
                 ClickInfos.getInstance().init();