Skip to content

"wmctrl -a" don't give ths focus to the window.

Submitted by Leon Waldman

Assigned to Olivier Fourdan @olivier

Link to original bug (#12716)

Description

I'm on Ubuntu Studio 16.04 and wmctrl -a doesn't work as expected.

According to wmctrl man page: -a <WIN> 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. :)

Regards,

Version: 4.12.0