Revision: 5105
          http://tigervnc.svn.sourceforge.net/tigervnc/?rev=5105&view=rev
Author:   ossman_
Date:     2013-05-23 11:41:35 +0000 (Thu, 23 May 2013)
Log Message:
-----------
Not sure what I was smoking when I wrote this. You need
to provide both pointers, even if you are just interested
in the upper case symbol.

Modified Paths:
--------------
    trunk/unix/xserver/hw/vnc/InputXKB.cc

Modified: trunk/unix/xserver/hw/vnc/InputXKB.cc
===================================================================
--- trunk/unix/xserver/hw/vnc/InputXKB.cc       2013-05-23 11:40:30 UTC (rev 
5104)
+++ trunk/unix/xserver/hw/vnc/InputXKB.cc       2013-05-23 11:41:35 UTC (rev 
5105)
@@ -408,13 +408,14 @@
        xkb = GetMaster(keyboardDev, KEYBOARD_OR_FLOAT)->key->xkbInfo->desc;
        for (key = xkb->min_key_code; key <= xkb->max_key_code; key++) {
                unsigned int state_out;
+               KeySym dummy;
 
                XkbTranslateKeyCode(xkb, key, state, &state_out, &ks);
                if (ks == NoSymbol)
                        continue;
 
                if (state_out & state & LockMask)
-                       XkbConvertCase(ks, NULL, &ks);
+                       XkbConvertCase(ks, &dummy, &ks);
 
                if (ks == keysym)
                        return key;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Tigervnc-commits mailing list
Tigervnc-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits

Reply via email to