Commit
7bf0c4d57ce (gtkxpaned: Avoid deprecated gtk_widget_get_pointer().)
essentially replaced gtk_widget_get_pointer() by its implementation in
GTK+3, but it left out a part of the implementation that I didn't think
was needed. Without that part, though, dragging most of the handles fails
to properly track the mouse pointer. This commit fixes the problem.
gdk_display_get_device_manager (
gtk_widget_get_display (widget))),
&pos.x, &pos.y, NULL);
+ if (!gtk_widget_get_has_window (widget))
+ {
+ pos.x -= allocation.x;
+ pos.y -= allocation.y;
+ }
if (xpaned->in_drag_vert)
{