I just pushed a patch on my branch free.lp.se:X.ctwm.rhialto.cleanup that changes the order that windows are (un)mapped when you switch workspaces. Please try it out and tell me what you think!
o ---------------------------------------------------------------------- | Revision: 27b160b3525651191dc08378d18b8e13bc744bad | Parent: d60692c3d82391bd01e15ca64725e263c1dc79ab | Author: rhia...@falu.nl | Date: 06/23/13 18:23:03 | Branch: free.lp.se:X.ctwm.rhialto.cleanup | | Changelog: | | Add an option (default off) to map and unmap workspaces in the "best" | order when switching workspaces. | The best order is to first unmap back-to-front (this avoid exposures of | parts of hidden windows), then map front-to-back (which prevents that | a just-mapped window gets partially hidden again). | Enable this code with | | SwitchWorkspacesOrdered 1 | | in your .ctwmrc. If this option turns out to be ok (possibly after | improvement, it can be turned on by default. One possible improvement | would be if it were possible to keep track of the stacking order | without explicitly asking the X server with XQueryTree(). | | Changes against parent d60692c3d82391bd01e15ca64725e263c1dc79ab | | patched parse.c | patched util.c | patched util.h | patched workmgr.c | patched workmgr.h o ---------------------------------------------------------------------- -Olaf. -- ___ Olaf 'Rhialto' Seibert -- The Doctor: No, 'eureka' is Greek for \X/ rhialto/at/xs4all.nl -- 'this bath is too hot.'