fix for bug #41930. make sure to reset the drag state to PR_FALSE if getting the selection failed. this should fix dragging to the composer on linux. r=pavlov,a=brendan

This commit is contained in:
blizzard%redhat.com 2000-06-09 03:05:18 +00:00
parent 0d4f0acf0f
commit 89ca103953

View File

@ -414,6 +414,8 @@ NS_IMETHODIMP nsDragService::SetDataReceived (GtkWidget *aWidget,
#ifdef DEBUG_DD
g_print("failed to get data. selection_data->length was %d\n", selection_data->length);
#endif
// if our selection failed, we aren't dragging anymore.
mDoingDrag = PR_FALSE;
}
return NS_OK;
}