On 16 September 2010 18:56, Claude Rubinson <[email protected]> wrote: > There are certain websites for which I like to customize how FVWM > treats the browser window (e.g., different styles for different > sites). As long as the name of the website is part of the window > name, it's not a problem.
FVWM sets the title based on the WM_NAME XAtom. > Occasionally, however, I'll run into a site where there's no stable > name. For example, the online music streaming site MOG.com only > includes the name of the artist and song in the window name. Many X > clients let you specify your own name, but neither Firefox nor Chrome > does. Is there a way to uniquely identify such browser windows Nope -- not unless there's an additional property of the window that's set (see xprop). > (whether from within FVWM or not) when the site doesn't provide a > fixed reference? For FvwmEvent, I can use the WindowId but as far as > I understand, that doesn't work for Style specifications. The WindowID is (an old) means to an end to ensure a given action from FvwmEvent ran in the correct window context. This is no longer needed as you get that for free. Some tine ago, I started work on this: http://xteddy.org/fvwm/patches.html#toc9 ... which may or may not help you -- but don't ask support for it here, it's an old patch. -- Thomas Adam
