summaryrefslogtreecommitdiffstats
path: root/krdc/vnc/threads.cpp
diff options
context:
space:
mode:
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;
}