diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2022-12-01 17:32:59 +0200 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2024-03-11 18:15:50 +0200 |
commit | 7f8195bae3548b25186ca2b7287dd1293fc0d7e5 (patch) | |
tree | 6def8065bd77fde4f7b4da6b4281eeac057d67d6 | |
parent | 5921beed9208e15fa45c4bb719f667cdd50cd94c (diff) |
src: Make sure we don't die out when performing output hot-plugging
Bug-AGL: SPEC-4617
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I3147cbfbc5a5c3913d8e361b907f5c19bf539276
-rw-r--r-- | src/shell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shell.c b/src/shell.c index 4fbd8d5..8a21ed8 100644 --- a/src/shell.c +++ b/src/shell.c @@ -1134,8 +1134,8 @@ insert_black_curtain(struct ivi_output *output) if ((!output && !output->fullscreen_view.fs && - !output->fullscreen_view.fs->view) || !output->output || - !output->fullscreen_view.fs) { + !output->fullscreen_view.fs->view) || + !output->output || !output->fullscreen_view.fs) { weston_log("Output %s doesn't have a surface installed!\n", output->name); return; } |