Revision: 5015
          http://tigervnc.svn.sourceforge.net/tigervnc/?rev=5015&view=rev
Author:   atkac
Date:     2012-11-26 12:04:16 +0000 (Mon, 26 Nov 2012)
Log Message:
-----------
Allow to change "AcceptPointerEvents" via "vncconfig -set".

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

Modified: trunk/unix/xserver/hw/vnc/vncExtInit.cc
===================================================================
--- trunk/unix/xserver/hw/vnc/vncExtInit.cc     2012-11-26 12:01:42 UTC (rev 
5014)
+++ trunk/unix/xserver/hw/vnc/vncExtInit.cc     2012-11-26 12:04:16 UTC (rev 
5015)
@@ -591,11 +591,12 @@
     value1 = desktop1->getValueStr();
 
   /*
-   * Allow to change only clipboard parameters and desktop name.
+   * Allow to change only certain parameters.
    * Changing other parameters (for example PAM service name)
    * could have negative security impact.
    */
   if (strncasecmp(param.buf, "desktop", 7) != 0 &&
+      strncasecmp(param.buf, "AcceptPointerEvents", 19) != 0 &&
       (noclipboard || strncasecmp(param.buf, "SendCutText", 11) != 0) &&
       (noclipboard || strncasecmp(param.buf, "AcceptCutText", 13) != 0))
     goto deny;

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


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Tigervnc-commits mailing list
Tigervnc-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits

Reply via email to