- Update to 0.7.4

Feature safe:	yes
This commit is contained in:
Steve Wills 2012-11-23 21:45:53 +00:00
parent 166ce1a40f
commit 152350017d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=307687
3 changed files with 3 additions and 25 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= xpra
PORTVERSION= 0.7.2
PORTVERSION= 0.7.4
CATEGORIES= x11
MASTER_SITES= http://xpra.org/src/

View file

@ -1,2 +1,2 @@
SHA256 (xpra-0.7.2.tar.bz2) = f9e5bcf94f65becdeeec13eeb1cbea6accf8925c095cfe42ab46fe96625c9015
SIZE (xpra-0.7.2.tar.bz2) = 469959
SHA256 (xpra-0.7.4.tar.bz2) = 93d12df6e764195c57a769b4740b9018073369a46ce9626ce430c657e475942c
SIZE (xpra-0.7.4.tar.bz2) = 470237

View file

@ -1,22 +0,0 @@
--- wimpiggy/lowlevel/bindings.pyx (revision 2071)
+++ wimpiggy/lowlevel/bindings.pyx (revision 2072)
@@ -894,4 +894,5 @@
cdef Display * display #@DuplicatedSignature
cdef KeySym keysym #@DuplicatedSignature
+ cdef char* keyname
display = get_xdisplay_for(display_source)
raw_mappings = _get_raw_keycode_mappings(display)
@@ -900,9 +901,10 @@
keynames = []
for keysym in keysyms:
+ key = ""
if keysym!=NoSymbol:
keyname = XKeysymToString(keysym)
- else:
- keyname = ""
- keynames.append(keyname)
+ if keyname!=NULL:
+ key = str(keyname)
+ keynames.append(key)
#now remove trailing empty entries:
while len(keynames)>0 and keynames[-1]=="":