Wrong focus while cycling with alt+tab
Submitted by Felipe Contreras
Assigned to Olivier Fourdan
This is a very particular issue that happens when I'm on a xfce4-terminal (or any VTE terminal), and I switch to a Tcl/Tk window with alt+tab (cycling), if I cycle back to to the terminal, the cursor doesn't resume blinking (as if there was no focus).
This only happens while cycling (alt+tab); if I click on the terminal window with the mouse the focus is fine. If I select the option "Raise windows while cycling" it also works fine with alt+tab.
It also only happens when the mouse enters the Tcl/Tk window; if I just cycle to the window, and back to the terminal, blinking resumes fine.
Since I use xfce4-terminal a lot, and also gitk (written in Tcl/Tk), and I always use alt+tab, that means the cursor of the terminal essentially never blinks.
I've tested in GNOME and i3, and cycling through the windows works fine, so it's definitely a bug in xfwm4.
You can test a Tcl/Tk window by running the "wish" command.