[winswitch] xpra 0.7.0 and little keyboard troubles

Antoine Martin antoine at nagafix.co.uk
Fri Oct 19 10:06:04 BST 2012


On 10/19/2012 12:43 PM, Dmitry Smirnov wrote:
> On Fri, 19 Oct 2012 14:23:55 Antoine Martin wrote:
>> Missing patch attached.
> Sorry I still don't see an attachment.
> Feel free to send directly to me if mail list software drop attachments for
> whatever reason.
>
> Thanks.
>
You're right, it does seem to have scrubbed it, here it is inlined:

Index: src/xpra/server_source.py
===================================================================
--- src/xpra/server_source.py    (revision 1982)
+++ src/xpra/server_source.py    (working copy)
@@ -134,6 +134,7 @@
          except:
              log.error("error setting new keymap", exc_info=True)
          self.make_modifiers_match = (client_platform and not 
client_platform.startswith("win")) or (self.xkbmap_print!="" or 
self.xkbmap_query!="")
+        log.info("make_modifiers_match=%s, ", self.make_modifiers_match)
          try:
              #first clear all existing modifiers:
              clean_keyboard_state()
@@ -559,8 +560,10 @@
              log.info("ignoring keycode since keyboard is turned off")
              return -1
          server_keycode = 
self.keyboard_config.keycode_translation.get((client_keycode, keyname))
+        log.info("get_keycode: (%s,%s)=%s", client_keycode, keyname, 
server_keycode)
          if not server_keycode:
              server_keycode = 
self.keyboard_config.keycode_translation.get(keyname, client_keycode)
+            log.info("get_keycode: (%s)=%s", keyname, server_keycode)
          return server_keycode






More information about the shifter-users mailing list