diff --git a/guacamole/src/main/frontend/src/app/client/directives/guacTiledClients.js b/guacamole/src/main/frontend/src/app/client/directives/guacTiledClients.js index 01ecab50d..ea94f046a 100644 --- a/guacamole/src/main/frontend/src/app/client/directives/guacTiledClients.js +++ b/guacamole/src/main/frontend/src/app/client/directives/guacTiledClients.js @@ -92,6 +92,11 @@ angular.module('client').directive('guacTiledClients', [function guacTiledClient $scope.$emit('guacClientFocused', focusedClient); }); + // Notify whenever arguments of currently-focused client changes + $scope.$watch('getFocusedClient().arguments', function focusedClientParametersChanged() { + $scope.$emit('guacClientFocused', $scope.getFocusedClient()); + }, true); + /** * Returns a callback for guacClick that assigns or updates keyboard * focus to the given client, allowing that client to receive and