I'm trying to get xfdesktop to rearrange its window icons when the screen size changes. Unfortunately, xfwm4 doesn't update _NET_WORKAREA after the screen size changes (via XRANDR). E.g.: Screen size is 1600x1200: $ xprop -root _NET_WORKAREA _NET_WORKAREA(CARDINAL) = 0, 53, 1600, 1147, 0, 53, 1600, 1147, 0, 53, 1600, 1147, 0, 53, 1600, 1147, 0, 53, 1600, 1147, 0, 53, 1600, 1147 Change size to 1280x1024: $ xprop -root _NET_WORKAREA _NET_WORKAREA(CARDINAL) = 0, 53, 1600, 1147, 0, 53, 1600, 1147, 0, 53, 1600, 1147, 0, 53, 1600, 1147, 0, 53, 1600, 1147, 0, 53, 1600, 1147
Should be fixed with revision #19047. Thanks for bringing that to my attention ;)
No problem ^_^. Another oddity, and I'm not sure if it's the WM's problem or not. I have my panel in the top-right corner of my desktop. When I changed the screen size, it automatically moved itself so it's still in the top right. However, even that action -- which presumably changed the struts on the panel -- didn't trigger the WM to change _NET_WORKAREA. I didn't check to see if the panel actually does update its struts, so if it doesn't, that's probably where the bug is.
Struts are relative to screen edges, so unless the height (for horizontal panels) or width (for vertical ones) changes, there is no reason to change the struts on screen change, not even when moving the panels.