Skip to content

Commit

Permalink
don't process any input-device packet data when in readonly mode
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@19388 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed May 23, 2018
1 parent c58f6ee commit 8b6aeb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/x11/desktop_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ def _process_unmap_window(self, proto, packet):

def _process_configure_window(self, proto, packet):
wid, x, y, w, h = packet[1:6]
if len(packet)>=13:
if len(packet)>=13 and not self.readonly:
pwid = packet[10]
pointer = packet[11]
modifiers = packet[12]
Expand Down

0 comments on commit 8b6aeb3

Please sign in to comment.