fvwm3
fvwm3 copied to clipboard
`ThisWindow` thinks FvwmIconMan is always in a raised state
Original post from: https://fvwmforums.org/t/thiswindow-thinks-fvwmiconman-is-always-in-a-raised-state/3093
With this tiny ~/.fvwm/config
(fvwm3, latest master, f1f7c4e):
Module FvwmIconMan
Key F1 A A Next ("FvwmIconMan") my_test
DestroyFunc my_test
AddToFunc my_test
+ I ThisWindow (Raised) echo my_test: $[w.name] is raised
when I start fvwm3 (with -v option), open xterm, place it over FvwmIconMan window & press F1, I get this message in the log file:
my_test: 'FvwmIconMan' is raised
FvwmIconMan
should be be reporting itself as being raised.
I tried to play around with this a bit, and what I found out is FvwmIconMan is not triggering VisibilityNotify
events except when it is created. So due to this the visibility state is determined by the visibility at the time the window is mapped and never changes. I was not able to figure out why FvwmIconMan is not triggering VisiblityNotify
events after its creation.
https://tronche.com/gui/x/xlib/events/window-state-change/visibility.html
Yes, I have a fix for this, I just need to dust it off. Not for 1.0.4 though.
This is now a "feature" in that Firefox is no longer supporting this. There's nothing fvwm3 can do to help here.