From 6c1c0dd5fac2f5972a2a4fa02db493393593650c Mon Sep 17 00:00:00 2001 From: Abdur Rehman Date: Sun, 1 Jan 2017 19:46:31 +0500 Subject: [PATCH] clients: fix a couple of trivial typos Signed-off-by: Abdur Rehman Reviewed-by: Yong Bakos --- clients/window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/window.c b/clients/window.c index ac35c3d6..d75bc60d 100644 --- a/clients/window.c +++ b/clients/window.c @@ -2781,7 +2781,7 @@ pointer_handle_motion(void *data, struct wl_pointer *pointer, input->sx = sx; input->sy = sy; - /* when making the window smaller - e.g. after a unmaximise we might + /* when making the window smaller - e.g. after an unmaximise we might * still have a pending motion event that the compositor has picked * based on the old surface dimensions. However, if we have an active * grab, we expect to see input from outside the window anyway. @@ -5332,7 +5332,7 @@ menu_button_handler(struct widget *widget, if (state == WL_POINTER_BUTTON_STATE_RELEASED && (menu->release_count > 0 || time - menu->time > 500)) { - /* Either relase after press-drag-release or + /* Either release after press-drag-release or * click-motion-click. */ menu->func(menu->user_data, input, menu->current); input_ungrab(menu->input);