Re: [PATCH] Add an option to disable client initiated resizes

2014-04-02 Thread Hardening
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->

Re: [PATCH] Add an option to disable client initiated resizes

2014-04-02 Thread Jason Ekstrand
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)

Re: [PATCH] Add an option to disable client initiated resizes

2014-04-02 Thread Jason Ekstrand
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,

Re: [PATCH] Add an option to disable client initiated resizes

2014-04-02 Thread Bill Spitzak
Hardening wrote: + if (!settings->DesktopResize) { + /* peer does not support desktop resize */ + weston_log("%s: client doesn't support resizing, closing connection\n", __FUNCTION__); +

[PATCH] Add an option to disable client initiated resizes

2014-04-02 Thread Hardening
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