summaryrefslogtreecommitdiffstats
path: root/krdc/vnc/threads.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-04-13 01:04:19 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-04-13 01:04:19 -0500
commit008eae43da364c9a910416652cf277c4ef5895c9 (patch)
tree5f9060ce2395120f3ce327d444b035a6ece978a4 /krdc/vnc/threads.cpp
parent2bc02dc6e21b9f38a76c6733a0931c7ebc944547 (diff)
downloadtdenetwork-008eae43da364c9a910416652cf277c4ef5895c9.tar.gz
tdenetwork-008eae43da364c9a910416652cf277c4ef5895c9.zip
Fix inadvertent "TQ" changes.
Diffstat (limited to 'krdc/vnc/threads.cpp')
-rw-r--r--krdc/vnc/threads.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/krdc/vnc/threads.cpp b/krdc/vnc/threads.cpp
index 097e1367..cb33b46c 100644
--- a/krdc/vnc/threads.cpp
+++ b/krdc/vnc/threads.cpp
@@ -33,9 +33,9 @@ static const int MAXIMUM_WAIT_PERIOD = 8000;
// time to postpone incremental updates that have not been requested explicitly
static const int POSTPONED_INCRRTQ_WAIT_PERIOD = 110;
-static const int MOUSEPRESS_TQUEUE_SIZE = 5;
-static const int MOUSEMOVE_TQUEUE_SIZE = 3;
-static const int KEY_TQUEUE_SIZE = 8192;
+static const int MOUSEPRESS_QUEUE_SIZE = 5;
+static const int MOUSEMOVE_QUEUE_SIZE = 3;
+static const int KEY_QUEUE_SIZE = 8192;
ControllerThread::ControllerThread(KVncView *v, WriterThread &wt, volatile bool &quitFlag) :
@@ -246,12 +246,12 @@ void WriterThread::queueMouseEvent(int x, int y, int buttonMask) {
m_lock.unlock();
return;
}
- if (m_mouseEventNum >= MOUSEPRESS_TQUEUE_SIZE) {
+ if (m_mouseEventNum >= MOUSEPRESS_QUEUE_SIZE) {
m_lock.unlock();
return;
}
if ((m_lastMouseEvent.buttons == buttonMask) &&
- (m_mouseEventNum >= MOUSEMOVE_TQUEUE_SIZE)) {
+ (m_mouseEventNum >= MOUSEMOVE_QUEUE_SIZE)) {
m_lock.unlock();
return;
}
@@ -272,7 +272,7 @@ void WriterThread::queueKeyEvent(unsigned int k, bool down) {
e.e.k.down = down;
m_lock.lock();
- if (m_keyEventNum >= KEY_TQUEUE_SIZE) {
+ if (m_keyEventNum >= KEY_QUEUE_SIZE) {
m_lock.unlock();
return;
}