summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textfield.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-05-20 23:37:45 +0300
committerAndrei Karas <akaras@inbox.ru>2011-05-20 23:37:45 +0300
commit71d0606a0356e8f9a5fb605190aef7330b630b9e (patch)
tree6bc9a68a027f884b87a52747a7c86acedd8250e5 /src/gui/widgets/textfield.h
parent78ab801cc5dfe687718ec7e027c3050bed62a1e9 (diff)
downloadmanaverse-71d0606a0356e8f9a5fb605190aef7330b630b9e.tar.gz
manaverse-71d0606a0356e8f9a5fb605190aef7330b630b9e.tar.bz2
manaverse-71d0606a0356e8f9a5fb605190aef7330b630b9e.tar.xz
manaverse-71d0606a0356e8f9a5fb605190aef7330b630b9e.zip
Possible fix for sticky paste key in X systems.
This code add 2 seconds timeout between paste actions.
Diffstat (limited to 'src/gui/widgets/textfield.h')
-rw-r--r--src/gui/widgets/textfield.h1
1 files changed, 1 insertions, 0 deletions
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