From: Matthias Clasen Date: Sat, 25 Mar 2023 19:29:55 +0000 (-0400) Subject: Tweak X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~1^2~502^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=de3b37d80cd9a2386d4998cba59394f0e50e21f1;p=gtk4.git Tweak --- diff --git a/docs/reference/gtk/coordinates.md b/docs/reference/gtk/coordinates.md index be1d281961..4ca85d5890 100644 --- a/docs/reference/gtk/coordinates.md +++ b/docs/reference/gtk/coordinates.md @@ -67,9 +67,9 @@ or decreasing Y coordinates. Event controllers and gestures report positions in the coordinate system of the widget they are attached to. -But if you are dealing with raw events in the form of [class@Gdk.Event] that have -positions associated with them (e.g. the pointer position), such positions are expressed -in **_surface coordinates_**, which have their origin at the top left corner of the +If you are dealing with raw events in the form of [class@Gdk.Event] that have positions +associated with them (e.g. the pointer position), such positions are expressed in +**_surface coordinates_**, which have their origin at the top left corner of the [class@Gdk.Surface]. To translate from surface to widget coordinates, you have to apply the offset from the