I'm on Ubuntu Studio 16.04 and wmctrl -a doesn't work as expected.
According to wmctrl man page:
Switch to the desktop containing the window <WIN>, raise the window, and give it focus.
I have focus follow the mouse on.
I think the focus should change only on mouse entering a window and not stay only on the window currently under the mouse.
This is possibly a digression from the bug https://bugzilla.xfce.org/show_bug.cgi?id=6484
It does indeed raise the window, but the focus remains on the window under the mouse and, if the "Focus follows mouse" option is disabled, the wmctrl -a works as intended.
If you need any more details, just let me know and I will provide. :)
-- GitLab Migration Automatic Message --
This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/224.
Please create an account or use an existing account on one of our supported OAuth providers.
If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests
Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev