Embarrasing copy/paste error. Fixes fake AltGr presses.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5081 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/unix/xserver/hw/vnc/Input.cc b/unix/xserver/hw/vnc/Input.cc
index cf6a7df..6fc007b 100644
--- a/unix/xserver/hw/vnc/Input.cc
+++ b/unix/xserver/hw/vnc/Input.cc
@@ -545,7 +545,7 @@
/* Need a fake press or release of level three shift? */
if (!(state & level_three_mask) && (new_state & level_three_mask)) {
- level_three_press = pressShift();
+ level_three_press = pressLevelThree();
if (level_three_press == 0) {
vlog.error("Unable to find a modifier key for ISO_Level3_Shift/Mode_Switch");
return;