Explicitely handle editor opening failures

This commit is contained in:
Robbert van der Helm
2020-03-17 20:54:49 +01:00
parent e7e1b26455
commit d0a86887d3
3 changed files with 66 additions and 50 deletions
+2
View File
@@ -272,6 +272,8 @@ void passthrough_event(boost::asio::local::stream_protocol::socket& socket,
// to create a Win32 window, pass that to the plugin, and
// then write the corresponding X11 window handle to the
// data pointer.
// TODO: I really want to build a more obvious mechanism
// for this
return *reinterpret_cast<intptr_t*>(data);
}},
event.payload);