]> Pileus Git - wmpus/commit
Move init and destroy code to win_{new,free}
authorAndy Spencer <andy753421@gmail.com>
Sat, 11 Aug 2012 07:21:43 +0000 (07:21 +0000)
committerAndy Spencer <andy753421@gmail.com>
Sat, 11 Aug 2012 07:21:43 +0000 (07:21 +0000)
commitf63e805feb5cc4e71fa9679f6b3bc62a5954b7f2
tree615cdcc1e090a2473e6216d7fffa78cf897261d1
parent853b20d942c746cc8ebb5e6fe33386e1ed9f3525
Move init and destroy code to win_{new,free}

This helps improve consistency if windows are created or destroyed from
different events.

This fixes a bug where a non-visible window was destroyed (without an
associated unmap), which previously left an invalid pointer in the wm.
sys-x11.c