Command focusing a window?
When an application is Swallow in FvwmButtons, the window focus is on the title bar and buttons, but the application is not included.
PCmanFM menu is Ctrl+m. To activate it, the app must be focused. How to Focus Pcmanfm. Currently, I am using a poor function attached to FvwmButtons.
DestroyFunc MenuFocus
AddToFunc MenuFocus
+ I SloppyFocus
+ I Schedule 900 Exec xdotool key ctrl+m
+ I Schedule 1000 ClickToFocus
WindowId <id no> Focus does it but swallow pcmanfm doesn’t show an ID. Terminal commands xwininfo and xprop show same ID as Module FvwmIdent.
Terminal: echo $WINDOWID shows a different number 94371854. Didn’t point it out on DeskDnd. Try it. Or keep the “poor” function, does the job.
In short you cannot focus a window that has been swallowed. Once a window has been reparented, fvwm no longer manages it. In this case FvwmButtons manages it.