xfce_gdk_device_grab
One function to rule(grab?) them all:
- https://gitlab.xfce.org/xfce/xfwm4/-/blob/29d8730d/src/menu.c#L370
- https://gitlab.xfce.org/xfce/xfce4-panel/-/blob/6cfb3960/plugins/clock/clock.c#L1240
- https://gitlab.xfce.org/apps/xfce4-screenshooter/-/blob/e1acf020/lib/screenshooter-capture.c#L927
- https://gitlab.xfce.org/panel-plugins/xfce4-clipman-plugin/-/blob/e5cea8e5/panel-plugin/xfce4-popup-clipman.c#L35
Probably there are more functions like these in other components.
Edited by Simon Steinbeiß