mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +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
|
#ifdef DEBUG_DD
|
||||||
g_print("failed to get data. selection_data->length was %d\n", selection_data->length);
|
g_print("failed to get data. selection_data->length was %d\n", selection_data->length);
|
||||||
#endif
|
#endif
|
||||||
|
// if our selection failed, we aren't dragging anymore.
|
||||||
|
mDoingDrag = PR_FALSE;
|
||||||
}
|
}
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user