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 682af50..ddb52b9 100644
--- a/src/jalv.c
+++ b/src/jalv.c
@@ -541,6 +541,10 @@ jack_session_cb(jack_session_event_t* event, void* arg)
bool
jalv_ui_is_resizable(Jalv* jalv)
{
+ if (!jalv->ui) {
+ return false;
+ }
+
const LilvNode* s = lilv_ui_get_uri(jalv->ui);
LilvNode* p = lilv_new_uri(jalv->world, LV2_CORE__requiredFeature);
LilvNode* o = lilv_new_uri(jalv->world, NS_UI "fixedSize");