# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1658915786 0 # Node ID 723b79981427116f348d7843afbf6173f6be4bd5 # Parent 30cb5d6462674dd8feb89a1abe27239ad2183828 Android: I think we need to close the window if the DELETE handler does not return a positive value. If there is no handler we automatically close it... but it should also close I believe if the handler doesn't report handled. diff -r 30cb5d646267 -r 723b79981427 android/dw.cpp --- a/android/dw.cpp Wed Jul 27 08:32:32 2022 +0000 +++ b/android/dw.cpp Wed Jul 27 09:56:26 2022 +0000 @@ -343,6 +343,8 @@ { int (* API closefunc)(HWND, void *) = (int (* API)(HWND, void *))handler->signalfunction; retval = closefunc(handler->window, handler->data); + if(retval < 1) + dw_window_destroy(handler->window); break; } /* Window expose/draw event */