Make layer-resizing a bit more robust and readable
commitcd874b642ce9f86d63583b6a2d012d5f445895da
authorSadrul Habib Chowdhury <sadrul@users.sourceforge.net>
Wed, 10 Mar 2010 05:49:44 +0000 (10 00:49 -0500)
committerSadrul Habib Chowdhury <sadrul@users.sourceforge.net>
Wed, 10 Mar 2010 05:57:22 +0000 (10 00:57 -0500)
tree8b3a9cf45a99185fb5ee3ab1f39e47aa8ff81878
parent9d3938870c639fad97ea9b6cbb23b46cb049c801
Make layer-resizing a bit more robust and readable

Instead of killing all overlays when resizing, just kill the ones
that cannot be resized, and the resized the rest. This fixes a bug
where the window-list (or a group-window) is aborted when
layer-size changes (because window-size changed, or
caption/hardstatus etc. was toggled). This also makes the code
robust. So if you are looking at a window/display list, and the
window-size is changed, the list won't go away.
src/list_generic.c
src/resize.c