mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
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:
parent
0d4f0acf0f
commit
89ca103953
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user