<div>I made a libinput context that I use to get the coordinates of the (wacom)<br></div><div>tablet pen with `libinput_event_tablet_tool_get_x()` and<br></div><div>`libinput_event_tablet_tool_get_y()`.<br></div><div><br></div><div>Since libinput knows nothing of surfaces, the value is obviously the global<br></div><div>position of the pen. If I had the global position of the surface, I could<br></div><div>subtract the position of the pen relative to the surface, but according with the<br></div><div>docs:<br></div><div><br></div><div>"...Clients don't know the global position of their surfaces..."<br></div><div><br></div><div>> <a href="https://wayland.freedesktop.org/docs/html/ch04.html#sect-Protocol-Surface">https://wayland.freedesktop.org/docs/html/ch04.html#sect-Protocol-Surface</a><br></div><div><br></div><div>Is there any way to solve this problem? I'm currently using `wl_surface` with<br></div><div>`xdg_surface` and `xdg_toplevel` roles.<br></div><div><br></div><div>Thanks in advance,<br></div><div><br></div><div>- Felipe<br></div>