Back to the to the topic, yes, Linux is not technically Unix by pedigree. In practice, it doesn’t matter that it isn’t and it wouldn’t matter if it were, both for this issue in particular and for most others you are likely to encounter.
The actually relevant technology here is the graphics subsystem, and MacOS’s Cocoa has always been radically different from anything else in the Unix/Linux space. There is no relation whatsoever to either X11 or Wayland. The only thing worth “porting” here is the basic idea. Which is pretty neat, though. Let’s hope Apple hasn’t patented it.