Code Review
/
src
/
agl-compositor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
ivi-compositor: Use the helpers for array length
[src/agl-compositor.git]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index
e1ebab5
..
f715280
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-47,6
+47,7
@@
#include <libweston/weston-log.h>
#include "shared/os-compatibility.h"
#include <libweston/weston-log.h>
#include "shared/os-compatibility.h"
+#include "shared/helpers.h"
#include "agl-shell-server-protocol.h"
#include "agl-shell-server-protocol.h"
@@
-1145,6
+1146,7
@@
int main(int argc, char *argv[])
wl_list_init(&ivi.outputs);
wl_list_init(&ivi.surfaces);
wl_list_init(&ivi.pending_surfaces);
wl_list_init(&ivi.outputs);
wl_list_init(&ivi.surfaces);
wl_list_init(&ivi.pending_surfaces);
+ wl_list_init(&ivi.desktop_clients);
/* Prevent any clients we spawn getting our stdin */
os_fd_set_cloexec(STDIN_FILENO);
/* Prevent any clients we spawn getting our stdin */
os_fd_set_cloexec(STDIN_FILENO);