Only xclick can catch callback execution.
[scilab.git] / scilab / modules / gui / src / java / org / scilab / modules / gui / events / Jxclick.java
index 4491af4..3f5b45a 100644 (file)
@@ -57,6 +57,12 @@ public final class Jxclick {
                 mouseActionFilter(mouseEvent, axesUID, scilabMouseAction, isControlDown);
             }
         });
+        
+        /*
+         *  Force xclick not to catch/disable callback execution.
+         */
+        GlobalEventWatcher.enableCatchingCallback();
+        
         synchronized (ClickInfos.getInstance()) {
             try {
                 ClickInfos.getInstance().init();