[PATCH weston 2/3] compositor-x11: Cleanup XCB_LEAVE_NOTIFY handling

2017-10-09 Thread Marie Stephanie Alesna
Create new x11_backend_deliver_leave_event function. Fix XCB_LEAVE_NOTIFY to really use xcb_leave_notify_event_t. Signed-off-by: Marie Stephanie Alesna --- libweston/compositor-x11.c | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/libweston

[PATCH weston 3/3] compositor-x11: Support relative mouse motion in fullscreen

2017-10-09 Thread Marie Stephanie Alesna
: Marie Stephanie Alesna --- libweston/compositor-x11.c | 59 -- 1 file changed, 57 insertions(+), 2 deletions(-) diff --git a/libweston/compositor-x11.c b/libweston/compositor-x11.c index f9c9500d..aeb392d6 100644 --- a/libweston/compositor-x11.c +++ b

[PATCH weston 1/3] libweston: Preserve initial mouse pointer placement

2017-10-09 Thread Marie Stephanie Alesna
Formerly mouse pointer always moved to the top left corner as both prev_x and prev_y were set to NaN. Signed-off-by: Marie Stephanie Alesna --- libweston/compositor.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libweston/compositor.c b/libweston/compositor.c index 71a9b38c..5f287c17