Special case "Virtual Keyboard" to be available as external input

This commit is contained in:
Robin Gareus
2019-10-18 23:40:40 +02:00
parent c4d7870c68
commit bc363f1258

View File

@@ -1262,7 +1262,8 @@ PortManager::fill_midi_port_info_locked ()
for (vector<string>::iterator p = ports.begin(); p != ports.end(); ++p) {
if (port_is_mine (*p)) {
/* ugly hack, ideally we'd use a port-flag, or at vkbd_output_port()->name() */
if (port_is_mine (*p) && *p != _backend->my_name() + ":" + _(Virtual Keyboard")) {
continue;
}