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@19381 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed May 23, 2018
1 parent 0a8652e commit f6c2fcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/x11/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,7 @@ def _process_configure_window(self, proto, packet):
size_changed = oww!=w or owh!=h
if is_ui_driver or size_changed or not shown:
damage = False
if is_ui_driver and len(packet)>=13:
if is_ui_driver and len(packet)>=13 and not self.readonly:
pwid = packet[10]
pointer = packet[11]
modifiers = packet[12]
Expand Down

0 comments on commit f6c2fcb

Please sign in to comment.