How to keep YouTube video fullscreen after moving mouse to other screen in Awesome WM

awesomefullscreenvideowindow-manager

I've managed to get YouTube Flash videos fullscreen by using two tips, but whenever I move the mouse pointer to a different screen (thereby changing the application focus) the fullscreen mode is canceled. Is there some way to ensure that only application focus changes on the same screen cancels the fullscreen mode?

Best Answer

Adding the following rule to your rc.lua config file (in ~/.config/awesome/) should fix the problem:

{ rule = { instance = "plugin-container" },
  properties = { floating = true,
                 focus = yes } },

It keeps the focus on the flash plugin, so the full screen mode is never canceled (until you press Esc).

Related Question