Here's a patch against the Debian sources. The modifications go beyond just 
this bug, I discovered a few others on the way. Changes:

1. Set WM_CLASS property. See #660461 for a reason why.
2. Fix some indention mistakes and typos.
3. Handle sticky windows (desktop=-1) as visible everywhere
4. EWMH compliance:
 a) test _NET_SUPPORTED to detect compliant WM
 b) use _NET_NUMBER_OF_DESKTOPS and _NET_CURRENT_DESKTOP for switching
 c) use _NET_WM_DESKTOP to locate client windows
 d) prefer _NET_WM_NAME, fallback to WM_NAME for client name
 e) use _NET_WM_STATE to position fspanel above all other windows
 f) use _NET_WM_WINDOW_TYPE to mark fspanel as dektop part
 g) use _NET_CLIENT_LIST instead of _WIN_CLIENT_LIST


Note that I neither use fspanel regularly nor have I tested those changes 
extensively.


BTW: I found out that when clicking on a task in fspanel, the window is not 
raised to the top. Only if the window was previously minimized/iconified it is 
restored and raised. This might be a fluxbox quirk or configuration, but if 
you can reproduce this with any other window managers I would file a bug about 
it, so it isn't forgotten. As a workaround, clicking three times helps, the 
first focuses, the second minimizes and the third restores and raises the 
window.

Cheers!

Uli



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to