diff --git a/src/gui/inputdevices/InputSequence.cpp b/src/gui/inputdevices/InputSequence.cpp index 26883288..3d44114e 100644 --- a/src/gui/inputdevices/InputSequence.cpp +++ b/src/gui/inputdevices/InputSequence.cpp @@ -416,10 +416,12 @@ void InputSequence::checkCanStartInput() if (inputHandler->startInput(this)) { + printf("start input %s\n", gdk_device_get_name(device)); inputRunning = true; } else { + printf("NOT start input %s\n", gdk_device_get_name(device)); inputRunning = false; } } @@ -431,6 +433,11 @@ void InputSequence::stopInput() { XOJ_CHECK_TYPE(InputSequence); + if (inputRunning) + { + printf("stop input %s\n", gdk_device_get_name(device)); + } + inputRunning = false; inputHandler->stopInput(this); }