aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/jalv.c')
-rw-r--r--src/jalv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/jalv.c b/src/jalv.c
index b4bd530..c719ead 100644
--- a/src/jalv.c
+++ b/src/jalv.c
@@ -486,6 +486,10 @@ jalv_ui_write(SuilController controller,
{
Jalv* host = (Jalv*)controller;
+ if (!host->ui) {
+ return;
+ }
+
if (protocol != 0 && protocol != host->atom_prot_id) {
fprintf(stderr, "UI write with unsupported protocol %d (%s)\n",
protocol, symap_unmap(host->symap, protocol));