disable dnd on X11 for now
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good
This commit is contained in:
parent
9420878b93
commit
954a4a8e15
2 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue