summaryrefslogtreecommitdiff
path: root/libs/plugins/a-comp.lv2/a-comp.c
diff options
context:
space:
mode:
authorJohannes Mueller <github@johannes-mueller.org>2017-07-21 14:51:57 +0200
committerRobin Gareus <robin@gareus.org>2017-07-31 21:31:23 +0200
commit2716ce41e08c3e112c209b3840ff60d6e9bc2bb2 (patch)
treec18cec91f49e104ae4b7ecf8ccf6afebf3c1baf0 /libs/plugins/a-comp.lv2/a-comp.c
parent59775df9be375a249b3c4cbdc7e825eee27c393e (diff)
Indicate whether to show plugin's inline display in GUI
This is currently done by an extension data similarly to LV2_INLINEDISPLAY__interface.
Diffstat (limited to 'libs/plugins/a-comp.lv2/a-comp.c')
-rw-r--r--libs/plugins/a-comp.lv2/a-comp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/plugins/a-comp.lv2/a-comp.c b/libs/plugins/a-comp.lv2/a-comp.c
index 80985715e7..f9518cd76f 100644
--- a/libs/plugins/a-comp.lv2/a-comp.c
+++ b/libs/plugins/a-comp.lv2/a-comp.c
@@ -873,6 +873,9 @@ extension_data(const char* uri)
if (!strcmp(uri, LV2_INLINEDISPLAY__interface)) {
return &display;
}
+ if (!strcmp(uri, LV2_INLINEDISPLAY__in_gui)) {
+ return &display;
+ }
#endif
return NULL;
}