mike-jumper commented on PR #1061:
URL: 
https://github.com/apache/guacamole-client/pull/1061#issuecomment-2816868645

   @corentin-soriano Rather than build on the `size` instruction, what about 
leveraging layer parameters and the established `set` instruction (similar to 
the multi-touch support)?
   
   For example, we could do something like:
   
   ```c
   /* Hint that some_layer is best represented as a separate monitor/display */
   guac_protocol_send_set(socket, some_layer,
       GUAC_PROTOCOL_LAYER_PARAMETER_PRESENTATION,
       GUAC_PROTOCOL_LAYER_PARAMETER_PRESENTATION_DETACHED);
   
   /* Hint that the default layer will only contain other layers and need not 
have 
    * a graphical surface */
   guac_protocol_send_set(socket, default_layer,
       GUAC_PROTOCOL_LAYER_PARAMETER_PRESENTATION,
       GUAC_PROTOCOL_LAYER_PARAMETER_PRESENTATION_VOID);
   ```
   
   to advise compatible clients that a particular layer should be ideally 
rendered as a separate display in its own right, with its position within any 
parent layers to be interpreted as hinting for relative location.
   
   That would make the same semantics available in a backward-compatible 
manner, while also allowing the concept of separating out parts of the display 
to be more broadly applicable (such as for popping out RemoteApp windows).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@guacamole.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to