cross-posted from: https://programming.dev/post/32779890

I want to like, block interaction with a window that I am keeping on top of other windows so I can see it but still click to stuff behind it.

It turns out mpv already has this implemented. https://github.com/mpv-player/mpv/pull/8949

Technically no windows or mac support (presumably it’s possible there; dunno), but OP only asked for linux stuff so I’ll close this

And then I could remove the title bar if I really don’t want to interact with the app.

  • pelya@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    7 days ago

    Your window needs to get the list of all other windows, find the one directly below it, and send a mouse click programmatically, using something like accessibility API.
    Are you writing a keylogger?