m***@crosswire.com
2012-02-10 23:21:33 UTC
Howdy,
I'm trying to bind a key so that I can make any given window stay on the
top layer, and then revert with another key binding. The purpose is for
integrating multiple windows during video screen captures. Most of the
following config snippet works as intended, except StaysOnTop. I've
tried to use "Layer 6" instead, I've also tried to use something like:
Style $[w.id] StaysOnTop
But that doesn't seem to work either. "Style <string> StaysOnTop"
appears to work, but that doesn't do what I need since the window being
nailed to the glass isn't a specific application, but whatever
application I happen to be making a video of.
Any ideas?
Thanks in advance!
####################################################
DestroyFunc MyFreeze
AddToFunc MyFreeze
+ I ThisWindow WindowStyle StaysOnTop
+ I ThisWindow WindowStyle Sticky
+ I ThisWindow WindowStyle !Title
+ I ThisWindow WindowStyle !Borders
+ I ThisWindow WindowStyle !Handles
+ I ThisWindow WindowStyle WindowListSkip
+ I UpdateStyles
DestroyFunc MyThaw
AddToFunc MyThaw
+ I ThisWindow DestroyWindowStyle
+ I UpdateStyles
Key F1 A A Function MyFreeze
Key F2 A A Function MyThaw
I'm trying to bind a key so that I can make any given window stay on the
top layer, and then revert with another key binding. The purpose is for
integrating multiple windows during video screen captures. Most of the
following config snippet works as intended, except StaysOnTop. I've
tried to use "Layer 6" instead, I've also tried to use something like:
Style $[w.id] StaysOnTop
But that doesn't seem to work either. "Style <string> StaysOnTop"
appears to work, but that doesn't do what I need since the window being
nailed to the glass isn't a specific application, but whatever
application I happen to be making a video of.
Any ideas?
Thanks in advance!
####################################################
DestroyFunc MyFreeze
AddToFunc MyFreeze
+ I ThisWindow WindowStyle StaysOnTop
+ I ThisWindow WindowStyle Sticky
+ I ThisWindow WindowStyle !Title
+ I ThisWindow WindowStyle !Borders
+ I ThisWindow WindowStyle !Handles
+ I ThisWindow WindowStyle WindowListSkip
+ I UpdateStyles
DestroyFunc MyThaw
AddToFunc MyThaw
+ I ThisWindow DestroyWindowStyle
+ I UpdateStyles
Key F1 A A Function MyFreeze
Key F2 A A Function MyThaw