commit 4d8120ccf3097fd919327707eeccc56a329afbb9
parent b57f88e7dbefcda5a49ea515b410dc170e642a58
Author: Scott Leggett <scott@sl.id.au>
Date: Mon, 28 May 2018 02:35:24 +1000
Improve comment.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
@@ -145,7 +145,7 @@ void cursor_send_pointer_motion(struct sway_cursor *cursor, uint32_t time_msec,
struct wlr_surface *surface = NULL;
double sx, sy;
- // Find the container the pointer was previously over
+ // Find the container beneath the pointer's previous position
struct sway_container *prev_c = container_at_coords(cursor->seat,
cursor->previous.x, cursor->previous.y, &surface, &sx, &sy);
// Update the stored previous position