diff --git a/src/xpra/client/client_window_base.py b/src/xpra/client/client_window_base.py index 22466e065b..d58b3ed7e2 100644 --- a/src/xpra/client/client_window_base.py +++ b/src/xpra/client/client_window_base.py @@ -681,7 +681,7 @@ def get_mouse_event_wid(self, _x, _y): return self._id def do_motion_notify_event(self, event): - if self._client.readonly: + if self._client.readonly or self._client.server_readonly: return pointer, modifiers, buttons = self._pointer_modifiers(event) wid = self.get_mouse_event_wid(*pointer) @@ -696,7 +696,7 @@ def _device_info(self, event): return "" def _button_action(self, button, event, depressed, *args): - if self._client.readonly: + if self._client.readonly or self._client.server_readonly: return pointer, modifiers, buttons = self._pointer_modifiers(event) wid = self.get_mouse_event_wid(*pointer)