• snaggen@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    No, the compositor is the Wayland server, similar to the X server. It is not a random program snooping the screen, and under Wayland that is not possible. To get access to the screen, you have to use apis to explicitly ask for that access, and the user must approve the request. Under X, any program can snoop the screen and do what the like with it.