summaryrefslogtreecommitdiff
path: root/shell/maynard.c
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-07-03 15:20:45 +0000
committerschneefux <schneefux+commit@schneefux.xyz>2014-07-03 15:20:45 +0000
commit58a6dea66f23859f58ad1d6a543ac18e15882fab (patch)
treef7daf3c4286c2fa90c8967a41cdb51ffa2bec85c /shell/maynard.c
parent7cc7ba87cd2166d618381f3d85f1e861a3c82f0d (diff)
parenta2c3e554b4897b4e386dd4b9682af2f9117afb9b (diff)
downloadgraynard-58a6dea66f23859f58ad1d6a543ac18e15882fab.tar.gz
graynard-58a6dea66f23859f58ad1d6a543ac18e15882fab.zip
Merge remote-tracking branch 'upstream/master'
merge upstream
Diffstat (limited to 'shell/maynard.c')
-rw-r--r--shell/maynard.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/shell/maynard.c b/shell/maynard.c
index 0baf750..1939e34 100644
--- a/shell/maynard.c
+++ b/shell/maynard.c
@@ -331,8 +331,13 @@ main (int argc,
/* Wait until we have been notified about the compositor,
* shell, and shell helper objects */
- while (!desktop->output || !desktop->shell || !desktop->helper)
+ if (!desktop->output || !desktop->shell || !desktop->helper)
wl_display_roundtrip (desktop->display);
+ if (!desktop->output || !desktop->shell || !desktop->helper)
+ {
+ fprintf (stderr, "could not find output, shell or helper modules\n");
+ return -1;
+ }
css_setup (desktop);
background_create (desktop);