Le 03/04/2014 02:08, Bill Spitzak a écrit :
Hardening wrote:
+if (!settings->DesktopResize) {
+/* peer does not support desktop resize */
+weston_log("%s: client doesn't support resizing,
closing connection\n", __FUNCTION__);
+client->
Kristian,
Other than the "return FALSE" mentioned below, this looks good-to-go.
--Jason Ekstrand
On Wed, Apr 2, 2014 at 7:43 PM, Jason Ekstrand wrote:
>
>
>
> On Wed, Apr 2, 2014 at 7:08 PM, Bill Spitzak wrote:
>
>> Hardening wrote:
>>
>> + if (!settings->DesktopResize)
On Wed, Apr 2, 2014 at 7:08 PM, Bill Spitzak wrote:
> Hardening wrote:
>
> + if (!settings->DesktopResize) {
>> + /* peer does not support desktop resize */
>> + weston_log("%s: client doesn't support
>> resizing,
Hardening wrote:
+ if (!settings->DesktopResize) {
+ /* peer does not support desktop resize */
+ weston_log("%s: client doesn't support resizing,
closing connection\n", __FUNCTION__);
+
This patch adds an option to the RDP compositor to disable
desktop resizes initiated by RDP peer. The current behaviour
is that if an incoming RDP peer suggests a resolution that is
not the current one, a mode_switch() is done and the desktop is
resized to that new resolution. This new flag allows