From 71d0606a0356e8f9a5fb605190aef7330b630b9e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 20 May 2011 23:37:45 +0300 Subject: Possible fix for sticky paste key in X systems. This code add 2 seconds timeout between paste actions. --- src/gui/widgets/textfield.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/widgets/textfield.h') diff --git a/src/gui/widgets/textfield.h b/src/gui/widgets/textfield.h index 04e1ea51c..79197bb7a 100644 --- a/src/gui/widgets/textfield.h +++ b/src/gui/widgets/textfield.h @@ -106,6 +106,7 @@ class TextField : public gcn::TextField int mMinimum; int mMaximum; bool mLoseFocusOnTab; + int mLastEventPaste; }; #endif -- cgit v1.2.3-70-g09d2