traverso-commit
[Top][All Lists]
Advanced

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

[Traverso-commit] traverso/src/core InputEngine.cpp


From: Ben Levitt
Subject: [Traverso-commit] traverso/src/core InputEngine.cpp
Date: Sun, 03 Jun 2007 20:46:47 +0000

CVSROOT:        /sources/traverso
Module name:    traverso
Changes by:     Ben Levitt <benjie>     07/06/03 20:46:47

Modified files:
        src/core       : InputEngine.cpp 

Log message:
        fix first_input_event error in my last commit...

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/traverso/src/core/InputEngine.cpp?cvsroot=traverso&r1=1.58&r2=1.59

Patches:
Index: InputEngine.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/core/InputEngine.cpp,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -b -r1.58 -r1.59
--- InputEngine.cpp     3 Jun 2007 20:32:45 -0000       1.58
+++ InputEngine.cpp     3 Jun 2007 20:46:47 -0000       1.59
@@ -654,6 +654,8 @@
        }
        
        if (isFirstFact) {
+               cpointer().inputengine_first_input_event();
+               
                // Here we jump straight to the <K> command if "K" is 
unambiguously an FKEY
                int fkey_index = find_index_for_instant_fkey(eventcode);
                if (fkey_index >= 0) {
@@ -661,9 +663,6 @@
                        broadcast_action(action, isAutoRepeat);
                        return;
                }
-               
-               // Else, tell the cpointer that an event is starting
-               cpointer().inputengine_first_input_event();
        }
        
        if (isHolding) {




reply via email to

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