commit | f0d9116fc88510d04a223f2428d28c225b9abdb3 | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Tue Oct 11 22:44:23 2011 -0400 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Tue Oct 11 22:44:23 2011 -0400 |
tree | 0437fa337c33b0c6ef8034d3697cd0c765b95ea8 | |
parent | d2baf1fe5f22e5228d3fa2a3dd8c29c478d4e525 [diff] [blame] |
x11: Add a destroy listener for X11 surfaces
diff --git a/compositor/shell.c b/compositor/shell.c index 7c35fd0..2dfe95b 100644 --- a/compositor/shell.c +++ b/compositor/shell.c
@@ -952,6 +952,7 @@ if (shell == NULL) return -1; + memset(shell, 0, sizeof *shell); shell->compositor = ec; shell->shell.activate = activate; shell->shell.lock = lock;