Dear fvwm developers, I'm using FVWM as a windows manager and Pidgin (it was called Gaim previously) as an IM client. I would like to bind a key to bring the Pidgin conversation window on top. However, Pidgin uses only the WM_WINDOW_ROLE hint to differentiate between its windows and Pidgin developers claim that they do the right thing (see http://developer.pidgin.im/wiki/Using Pidgin#WhydoesPidginusethesameWM_CLASSforeverywindow). Since FVWM doesn't support WM_WINDOW_ROLE hint, that leaves windows of applications respectful to the GTK+ documentation indistinguishable.
For that reason I have created a patch that adds WM_WINDOW_ROLE to the list of window properties used to uniquely identify the window. The patch was created against FVWM's today cvs. I'm not sure if it is complete in sense that all places where window is being tested to match user-supplied string are covered. For the modules, I have patched only FvwmIdent (to make it show the WM_WINDOWSS_ROLE value) and FvwmScript (since it didn't compile otherwise). I have been working with patched FVWM for about two weeks now and everything seems fine. However, I have not tested the modules (with except of FvwmIdent) since I use none of them. Yours, Evgeniy Zhemchugov
fvwm-cvs_15.04.2008-WM_WINDOW_ROLE.patch
Description: Binary data
