projects
/
dana
/
dcompmgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
when freeing window data for a window, also remove the pointer to it in the window
[dana/dcompmgr.git]
/
render.c
diff --git
a/render.c
b/render.c
index
63b0a4b
..
be00e6f
100644
(file)
--- a/
render.c
+++ b/
render.c
@@
-222,8
+222,10
@@
render_window_show(d_window_t *w)
d->window_show(w);
wd = window_find_plugin_data(w, plugin_id);
- if (wd)
+ if (wd)
{
render_window_free(w, wd);
+ window_add_plugin_data(w, plugin_id, wd);
+ }
wd = malloc(sizeof(window_data_t));
wd->picture = XCB_NONE;