Merge pull request #129 from glyptodon/rdp-resize GUAC-1164: Add parameter for automatically reconnecting when display changes
Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/commit/55f5d1cc Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/tree/55f5d1cc Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/diff/55f5d1cc Branch: refs/heads/master Commit: 55f5d1cca331a3dfdbffbf25a923c173cf352d2c Parents: b63763c c336ce3 Author: James Muehlner <[email protected]> Authored: Wed Mar 16 21:37:06 2016 -0700 Committer: James Muehlner <[email protected]> Committed: Wed Mar 16 21:37:06 2016 -0700 ---------------------------------------------------------------------- configure.ac | 5 +- src/common/guac_cursor.c | 14 ++- src/common/guac_display.c | 3 + src/protocols/rdp/Makefile.am | 8 +- src/protocols/rdp/client.c | 57 ++--------- src/protocols/rdp/input.c | 51 +++++----- src/protocols/rdp/rdp.c | 187 ++++++++++++++++++++++++---------- src/protocols/rdp/rdp.h | 11 +- src/protocols/rdp/rdp_disp.c | 99 ++++++++++++------ src/protocols/rdp/rdp_disp.h | 93 +++++++++++++---- src/protocols/rdp/rdp_settings.c | 32 ++++++ src/protocols/rdp/rdp_settings.h | 31 ++++++ 12 files changed, 391 insertions(+), 200 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/blob/55f5d1cc/src/protocols/rdp/rdp_settings.c ---------------------------------------------------------------------- diff --cc src/protocols/rdp/rdp_settings.c index 70902f8,7cedb7c..133da61 --- a/src/protocols/rdp/rdp_settings.c +++ b/src/protocols/rdp/rdp_settings.c @@@ -356,24 -357,16 +357,30 @@@ enum RDP_ARGS_IDX #endif + /** + * The full absolute path to the directory in which screen recordings + * should be written. + */ IDX_RECORDING_PATH, + + /** + * The name that should be given to screen recordings which are written in + * the given path. + */ IDX_RECORDING_NAME, + + /** + * Whether the specified screen recording path should automatically be + * created if it does not yet exist. + */ IDX_CREATE_RECORDING_PATH, + /** + * The method to use to apply screen size changes requested by the user. + * Valid values are blank, "display-update", and "reconnect". + */ + IDX_RESIZE_METHOD, + RDP_ARGS_COUNT };
