X11 application loses focus in PSM-SSH
Symptom
When X11 port forwarding is enabled for PSM-SSH the X11 application opens in focus in the PSM session. However it is possible for the X11 application to lose focus for example by clicking on the SSH prompt. It is then not possible to get back to the X11 application.
Environment
11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8
PSM connecting with a PSM-SSH based connection component with X11 port forwarding enabled.
Cause
When running the X11 application in the background (with & for example), it is possible to click on the ssh shell, but this shifts the focus to the shell and it is not possible to click on the X11 application to bring it back in focus.
Resolution
When the application is open, set it to "Always On Top" by right clicking the title bar of the X11 application, which will show a menu with the option "Always On Top".
In some configurations there are different key combinations which will switch windows inside the session.
Try ALT + PageUp or ALT + PageDown to see if this changes the focus back to the X11 application. Note that these will not work when connecting through an HTML5 GW.