diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2014-07-03 15:20:45 +0000 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2014-07-03 15:20:45 +0000 |
| commit | 58a6dea66f23859f58ad1d6a543ac18e15882fab (patch) | |
| tree | f7daf3c4286c2fa90c8967a41cdb51ffa2bec85c /shell/maynard.c | |
| parent | 7cc7ba87cd2166d618381f3d85f1e861a3c82f0d (diff) | |
| parent | a2c3e554b4897b4e386dd4b9682af2f9117afb9b (diff) | |
| download | graynard-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.c | 7 |
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); |
