Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
tigervnc.4484
u_tigervnc-dont-send-ascii-control-characters.p...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File u_tigervnc-dont-send-ascii-control-characters.patch of Package tigervnc.4484
Author: Michal Srb <msrb@suse.com> Subject: Do not send ascii control characters for CTRL+[A-Z] combinations. Patch-Mainline: To be upstreamed References: bnc#864666 Index: vncviewer/Viewport.cxx =================================================================== --- vncviewer/Viewport.cxx.orig +++ vncviewer/Viewport.cxx @@ -1044,7 +1044,13 @@ rdr::U32 Viewport::translateKeyEvent(voi return NoSymbol; } - ucs = fl_utf8decode(keyText, NULL, NULL); + if (keyCode >= 'a' && keyCode <= 'z' && keyText[0] < 0x20) { + // Do not send ascii control characters - send the original key combination that caused them. + ucs = keyCode; + } else { + ucs = fl_utf8decode(keyText, NULL, NULL); + } + return ucs2keysym(ucs); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor