GTK 3’s Wayland backend doesn’t expose the pointer enter event serials needed for the pointer-warp protocol. The serial values are low-level Wayland details that GTK 3 abstracts away and doesn’t provide in its API.
Your options are:
In short, there’s no straightforward way in GTK 3 to get the pointer enter serial. You would likely need a parallel listener or move to GTK 4 for native support.