diff options
author | Johannes Mueller <github@johannes-mueller.org> | 2017-07-21 14:51:57 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-07-31 21:31:23 +0200 |
commit | 2716ce41e08c3e112c209b3840ff60d6e9bc2bb2 (patch) | |
tree | c18cec91f49e104ae4b7ecf8ccf6afebf3c1baf0 /libs/plugins/a-comp.lv2/a-comp.c | |
parent | 59775df9be375a249b3c4cbdc7e825eee27c393e (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.c | 3 |
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; } |