FVWM: Make xterm stay on top, conditionally
1
vote
1
answer
1307
views
Algorithm: *If there is no window currently on top, then make the next new
xterm stay on top (layer 6).*
I got that to work:
Module FvwmEvent
AddToFunc MyUpdate
+ I WindowStyle StaysOnTop
AddToFunc MyUpdateIfXterm
+ I Current ("XTerm") MyUpdate
AddToFunc MyUpdateIfLayer6Empty
+ I None (Layer 6) MyUpdateIfXterm
*FvwmEvent: Cmd
*FvwmEvent: add_window MyUpdateIfLayer6Empty
Style * ClickToFocus
Now, I want that xterm on top also to be without title, and so I change the
fourth line to:
+ I WindowStyle StaysOnTop, NoTitle
This, however, stops xterm from going to top. It looks like
StaysOnTop
stopped working.
*Did I run into a bug? If so, is there a workaround?*
Version:
$ fvwm --version
fvwm 2.6.5 compiled on May 15 2014 at 22:08:55
with support for: ReadLine, Stroke, XPM, PNG, SVG, Shape, XShm, SM, Bidi text, Xinerama, XRender, XCursor, XFT, NLS
Asked by feklee
(563 rep)
Apr 21, 2015, 09:30 PM
Last activity: Apr 23, 2015, 10:09 PM
Last activity: Apr 23, 2015, 10:09 PM