projects
/
profile
/
ivi
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88c1607
)
xwm: memset struct to 0
author
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 16 May 2012 14:13:41 +0000
(10:13 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 16 May 2012 14:13:41 +0000
(10:13 -0400)
We rely on focus_window being initialize to NULL.
src/xserver-launcher.c
patch
|
blob
|
history
diff --git
a/src/xserver-launcher.c
b/src/xserver-launcher.c
index
0e25390
..
d553703
100644
(file)
--- a/
src/xserver-launcher.c
+++ b/
src/xserver-launcher.c
@@
-1517,6
+1517,7
@@
weston_wm_create(struct weston_xserver *wxs)
if (wm == NULL)
return NULL;
+ memset(wm, 0, sizeof *wm);
wm->server = wxs;
wm->window_hash = hash_table_create();
if (wm->window_hash == NULL) {