Fix some rare memory leaks and behaviour when a mapped window is reparented away...
authorDana Jansens <danakj@orodu.net>
Thu, 14 Feb 2008 22:28:40 +0000 (17:28 -0500)
committerDana Jansens <danakj@orodu.net>
Thu, 14 Feb 2008 22:35:55 +0000 (17:35 -0500)
commit398f722ce1d52994bc9fc1891489c11828792b0a
tree475598968a32deeda5395d8bfe3cad74e4d87b26
parent2c1a928e5951472c0fdc3e6a6a2ecfc6a4b801f1
Fix some rare memory leaks and behaviour when a mapped window is reparented away from root

When a window that is mapped is reparented away from root, that is the same as it being completely unmapped+destroyed from our persective.  The window will no longer be in the same position on screen, and we will no longer want to listen to events on it.
Prior to this, the w->pixmap would not be freed when a mapped window was reparented away from root, and damage would not be updated for the screen correctly.
xcompmgr.c