@Ian Forbes
Thanks for replying. I do get why things wouldn't really work under XWayland unless in rootfull. And I know that XWayland implements the protocol, but as you say, it doesnt really work as advertisied in XW.
But the more I read about this, as a developer, I think that YOU have to implement it too. Workstation is a native GTK app, and GDK implements this protocol and exposes it through its library. If a native app running in Wayland wants to inhibit system shortcuts they must ask for it directly. And Workstation is a native GTK application.
I tried it with a small app, and it works properly on Wayland. Ultimately, check if on Wayland, and if so, dont use X11 keybaord grab, use Wayland protocol.
This is the method call that you should implement:
https://docs.gtk.org/gdk4/method.Toplevel.inhibit_system_shortcuts.html
So I think this should be escalated to the development team, and should be addressed sooner than later since Wayland is now almost fully covered by AMD and NVidia and is moving in fast to replace X11.