@ -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));
inputHandler->stopInput(this);