From 9dfa83df20e555595b484d5f3cd3de62cd87a697 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Thu, 23 Apr 2020 23:16:31 +0200 Subject: [PATCH] Change todo regarding drag-and-drop --- src/wine-host/editor.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/wine-host/editor.cpp b/src/wine-host/editor.cpp index 48072c1f..96d66b04 100644 --- a/src/wine-host/editor.cpp +++ b/src/wine-host/editor.cpp @@ -137,11 +137,10 @@ void Editor::handle_events() { } // Handle X11 events - // TODO: Check if we should forward other events mostly to prevent - // unnecessary GUI processing in the background. Since `effEditIdle` - // should only be called when the plugin's editor is open this should - // not cause any different in CPU though. - // TODO: Check whether drag and drop works out of the box + // TODO: Initiating drag-and-drop _sometimes_ causes the GUI to update while + // dragging while other times it does not. Not sure why this is + // happening. Forwarding XDND requests manually is very clunky and + // causes different problems. xcb_generic_event_t* generic_event; while ((generic_event = xcb_poll_for_event(x11_connection.get())) != nullptr) {