Awesome WM: workaround for gnome or mate panel stealing focus

Updated . Posted . Visible to the public.

If you use awesome 3.5, and a gnome or mate panel, the panel will often receive focus when you switch desktops. As a workaround:

  1. Add this rule to your rc.lua:
    { rule = { class = "Mate-panel" }, properties = { ontop = true, focusable = false } }
    
  2. Replace /usr/share/awesome/lib/awful/autofocus.lua with the attached file
Tobias Kraze
Last edit
Tobias Kraze
Attachments
License
Source code in this card is licensed under the MIT License.
Posted by Tobias Kraze to makandra dev (2016-12-01 17:30)