Add the start for a Wine->X11 DnD wrapper

This commit is contained in:
Robbert van der Helm
2021-07-09 18:47:27 +02:00
parent f1a8ed1668
commit fc61658ada
4 changed files with 111 additions and 1 deletions
+7
View File
@@ -20,6 +20,8 @@
#include <boost/container/small_vector.hpp>
#include "xdnd-proxy.h"
using namespace std::literals::chrono_literals;
// A catchable alternative to `assert()`. Normally all of our `assert(!error)`
@@ -360,6 +362,11 @@ Editor::Editor(MainContext& main_context,
0);
xcb_flush(x11_connection.get());
}
// Set up our proxy for translating Wine drag-and-drop events into XDND
// events
// TODO: We're going to need to store this somewhere to pass the events
WineXdndProxy::init_proxy();
}
void Editor::handle_x11_events() const noexcept {