mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Send an escape key press instead of WM_QUIT
This should allow the drag-and-drop operation to quit gracefully.
This commit is contained in:
@@ -539,7 +539,7 @@ void WineXdndProxy::run_xdnd_loop() {
|
||||
// Make sure the Windows drag-and-drop operation doesn't get stuck for
|
||||
// whatever reason (it shouldn't but who knows)
|
||||
if (drop_finished) {
|
||||
PostMessageW(tracker_window, WM_QUIT, 0, 0);
|
||||
PostMessageW(tracker_window, WM_KEYDOWN, VK_ESCAPE, 0);
|
||||
}
|
||||
|
||||
end_xdnd();
|
||||
|
||||
Reference in New Issue
Block a user