Github user jmuehlner commented on a diff in the pull request:
https://github.com/apache/incubator-guacamole-server/pull/17#discussion_r72010270
--- Diff: src/protocols/rdp/user.c ---
@@ -88,12 +94,24 @@ int guac_rdp_user_join_handler(guac_user* user, int
argc, char** argv) {
}
- user->file_handler = guac_rdp_user_file_handler;
- user->mouse_handler = guac_rdp_user_mouse_handler;
- user->key_handler = guac_rdp_user_key_handler;
- user->size_handler = guac_rdp_user_size_handler;
- user->pipe_handler = guac_rdp_svc_pipe_handler;
- user->clipboard_handler = guac_rdp_clipboard_handler;
+ /* Only handle events if not read-only */
+ if (settings->read_only == 0) {
--- End diff --
This is sort of a weird way to check for false.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---