Hi,
I'm trying to automatically unfocus my Mplayer windows immediately upon
focus (eg. after changing virtual desktop or running my mouse over it)
so that I don't quit it accidentally by pressing enter or adjust the
settings, etc.
I'm trying something like (at least to start)
xdotool search --name MPlayer behave %@ focus \
search --name . getwindowname
… but this crashes (see
https://github.com/jordansissel/xdotool/issues/169).
My idea was to find another window and focus that instead. Am I barking
up the wrong tree? Should I script this in my window manager instead..?
Best wishes,
--
Chris Lamb
chris-lamb.co.uk / @lolamby