mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +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
|
// Make sure the Windows drag-and-drop operation doesn't get stuck for
|
||||||
// whatever reason (it shouldn't but who knows)
|
// whatever reason (it shouldn't but who knows)
|
||||||
if (drop_finished) {
|
if (drop_finished) {
|
||||||
PostMessageW(tracker_window, WM_QUIT, 0, 0);
|
PostMessageW(tracker_window, WM_KEYDOWN, VK_ESCAPE, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
end_xdnd();
|
end_xdnd();
|
||||||
|
|||||||
Reference in New Issue
Block a user