Re: [PATCH weston v2 2/3] compositor-x11: remove redundant state arg of x11_backend_deliver_button_event

2016-06-23 Thread Daniel Stone
On 19 May 2016 at 05:32, Benoit Gschwind wrote: > The "state" variable in x11_backend_deliver_button_event is basically the > same as (event->response_type == XCB_BUTTON_PRESS), thus update the code > to use the last one. > > Signed-off-by: Benoit Gschwind

[PATCH weston v2 2/3] compositor-x11: remove redundant state arg of x11_backend_deliver_button_event

2016-05-18 Thread Benoit Gschwind
The "state" variable in x11_backend_deliver_button_event is basically the same as (event->response_type == XCB_BUTTON_PRESS), thus update the code to use the last one. Signed-off-by: Benoit Gschwind --- src/compositor-x11.c | 21 ++--- 1 file changed, 10