Re: [PATCH weston v3 4/5] Add safe_strtoint() helper

2016-07-31 Thread Peter Hutterer
On Fri, Jul 29, 2016 at 09:43:59AM -0700, Bryce Harrington wrote: > Adds a safe strtol helper function, modeled loosely after Wayland > scanner's strtouint. This encapsulates the various quirks of strtol > behavior, and streamlines the interface to just handling base-10 numbers > with a simple tru

[PATCH 3/7 v2] gl-renderer: Make dummy surface current after all outputs are gone

2016-07-31 Thread Armin Krezović
When all outputs are gone, there are no current read/write surfaces associated with a context. This makes the previously created dummy surface current until an output gets attached to avoid any potential crashes. v2: - Remove unnecessary wl_signal Signed-off-by: Armin Krezović --- libweston/gl