disable dnd on X11 for now
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
IoIxD 2026-09-21 14:27:03 -07:00
commit 954a4a8e15
2 changed files with 3 additions and 1 deletions

View file

@ -48,7 +48,7 @@ int main() {
NULL); NULL);
MwAddUserHandler(window, MwNresizeHandler, resize, NULL); MwAddUserHandler(window, MwNresizeHandler, resize, NULL);
MwAddUserHandler(instructions, MwNdragAndDropHandler, dnd, NULL); MwAddUserHandler(window, MwNdragAndDropHandler, dnd, NULL);
resize(window, NULL, NULL); resize(window, NULL, NULL);

View file

@ -978,6 +978,7 @@ static void MwLLNextEventImpl(MwLL handle) {
}; };
case SelectionNotify: case SelectionNotify:
{ {
#if 0
handle->x11.clipboard_pending = 0; handle->x11.clipboard_pending = 0;
if(ev.xselection.property == handle->x11.xdnd_selection) { if(ev.xselection.property == handle->x11.xdnd_selection) {
@ -1066,6 +1067,7 @@ static void MwLLNextEventImpl(MwLL handle) {
} }
XDeleteProperty(handle->x11.display, handle->x11.window, handle->x11.selection); XDeleteProperty(handle->x11.display, handle->x11.window, handle->x11.selection);
} }
#endif
} break; } break;
} }
if(render) { if(render) {