Re: [PATCH weston] desktop-shell: don't allow negative values in drag resize

2015-03-18 Thread Bryce Harrington
On Wed, Mar 18, 2015 at 10:21:59AM -0700, Jasper St. Pierre wrote: > Yeah, this is obviously correct. > > Reviewed-by: Jasper St. Pierre Thanks, applied: 561662b..70ac0ed master -> master > On Wed, Mar 18, 2015 at 9:16 AM, Derek Foreman > wrote: > > > Now clamping width and height to a

Re: [PATCH weston] desktop-shell: don't allow negative values in drag resize

2015-03-18 Thread Jasper St. Pierre
Yeah, this is obviously correct. Reviewed-by: Jasper St. Pierre On Wed, Mar 18, 2015 at 9:16 AM, Derek Foreman wrote: > Now clamping width and height to a minimum of 1, 1 when drag resizing. > > Signed-off-by: Derek Foreman > --- > desktop-shell/shell.c | 4 > 1 file changed, 4 insertio

[PATCH weston] desktop-shell: don't allow negative values in drag resize

2015-03-18 Thread Derek Foreman
Now clamping width and height to a minimum of 1, 1 when drag resizing. Signed-off-by: Derek Foreman --- desktop-shell/shell.c | 4 1 file changed, 4 insertions(+) diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index 826692f..aca91eb 100644 --- a/desktop-shell/shell.c +++ b/desk