Spoofing
2013-02-28 06:41:45 UTC
Hi maillist, I try to make some Rooms analog like in KDE.
This is just a prototype:
DestroyFunc FuncFvwmRoomWindow
AddToFunc FuncFvwmRoomWindow
+ I Current (Firefox) FuncFvwmProc firefox
+ I Current (Leafpad) FuncFvwmProc leafpad
+ I Current (MPlayer) FuncFvwmProc mplayer
+ I Next (CurrentPage) FlipFocus NoWarp
+ I Current Raise
DestroyFunc FuncFvwmProc
AddToFunc FuncFvwmProc
+ I ThisWindow (State 10) Exec kill -CONT $(pgrep $0)
+ I TestRc (False) Exec kill -STOP $(pgrep $0)
+ I State 10
Key Tab A M FuncFvwmNextWindow
When you change window, previous window freezes, and when you switch
back, then window process continues.
But what if you have a lot of the window with the same name. Necessary
to accurately define the process ID by name window ($[w.id]). How?
This is just a prototype:
DestroyFunc FuncFvwmRoomWindow
AddToFunc FuncFvwmRoomWindow
+ I Current (Firefox) FuncFvwmProc firefox
+ I Current (Leafpad) FuncFvwmProc leafpad
+ I Current (MPlayer) FuncFvwmProc mplayer
+ I Next (CurrentPage) FlipFocus NoWarp
+ I Current Raise
DestroyFunc FuncFvwmProc
AddToFunc FuncFvwmProc
+ I ThisWindow (State 10) Exec kill -CONT $(pgrep $0)
+ I TestRc (False) Exec kill -STOP $(pgrep $0)
+ I State 10
Key Tab A M FuncFvwmNextWindow
When you change window, previous window freezes, and when you switch
back, then window process continues.
But what if you have a lot of the window with the same name. Necessary
to accurately define the process ID by name window ($[w.id]). How?