texthandle: Correct placement of handles
authorMatthias Clasen <mclasen@redhat.com>
Fri, 24 Mar 2023 18:49:18 +0000 (14:49 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 24 Mar 2023 20:05:05 +0000 (16:05 -0400)
commit9db08c7a86be691ccca80f5b0d18787552c0dff4
tree776e4d67978687cdc66360cb0bc66d6c79422a28
parentfb3fe7a353fa4ed3043e20bb7fbf4c8d09aeba44
texthandle: Correct placement of handles

Text handles had the same problem as popovers.
They were interpreting their pointing-to rectangle
relative to the widgets bounds, when it is meant
to be relative to the widgtets allocation.

While we touch this code, rewrite it to use
gtk_widget_compute_point.
gtk/gtktexthandle.c