[PATCH] Add an option to disable client initiated resizes

Bill Spitzak spitzak at gmail.com
Wed Apr 2 17:08:33 PDT 2014


Hardening wrote:

> +			if (!settings->DesktopResize) {
> +				/* peer does not support desktop resize */
> +				weston_log("%s: client doesn't support resizing, closing connection\n", __FUNCTION__);
> +				client->Close(client);

> +			target_mode = ensure_matching_mode(&output->base, &new_mode);
> +			if (!target_mode) {
> +				weston_log("client mode not found\n");
> +				return FALSE;
> +			}

One failure mode is fatal, while the other one just returns FALSE? Both 
just mean that weston's size is different than the RDP window size, so I 
think the results should be the same.


More information about the wayland-devel mailing list