mirror of
https://github.com/swaywm/sway.git
synced 2024-11-26 09:51:29 +00:00
Improve comment.
This commit is contained in:
parent
b57f88e7db
commit
4d8120ccf3
|
@ -145,7 +145,7 @@ void cursor_send_pointer_motion(struct sway_cursor *cursor, uint32_t time_msec,
|
||||||
struct wlr_surface *surface = NULL;
|
struct wlr_surface *surface = NULL;
|
||||||
double sx, sy;
|
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,
|
struct sway_container *prev_c = container_at_coords(cursor->seat,
|
||||||
cursor->previous.x, cursor->previous.y, &surface, &sx, &sy);
|
cursor->previous.x, cursor->previous.y, &surface, &sx, &sy);
|
||||||
// Update the stored previous position
|
// Update the stored previous position
|
||||||
|
|
Loading…
Reference in a new issue