Re: [PATCH v3] shell: support window resizing using touchscreen

2014-04-25 Thread Stanislav Vorobiov
Ping On 04/23/2014 05:41 PM, Jason Ekstrand wrote: > > > > On Wed, Apr 23, 2014 at 1:02 AM, Stanislav Vorobiov > wrote: > > if the system doesn't have a pointer device > common_surface_resize will crash on > accessing seat->pointer->button_count. if

Re: [PATCH v3] shell: support window resizing using touchscreen

2014-04-23 Thread Jason Ekstrand
On Wed, Apr 23, 2014 at 1:02 AM, Stanislav Vorobiov wrote: > if the system doesn't have a pointer device > common_surface_resize will crash on > accessing seat->pointer->button_count. if the system > does have a pointer device, but attempts to resize > a window using touchscreen - nothing happens.

[PATCH v3] shell: support window resizing using touchscreen

2014-04-22 Thread Stanislav Vorobiov
Right, didn't see that theme_get_location can also return THEME_LOCATION_TITLEBAR, fixed that Stanislav Vorobiov (1): shell: support window resizing using touchscreen clients/window.c |5 +- desktop-shell/shell.c | 153 ++--- shared/cairo-u

[PATCH v3] shell: support window resizing using touchscreen

2014-04-22 Thread Stanislav Vorobiov
if the system doesn't have a pointer device common_surface_resize will crash on accessing seat->pointer->button_count. if the system does have a pointer device, but attempts to resize a window using touchscreen - nothing happens. here we implement separate window resizing path for seat->touch as it