projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
436a884
)
fix weird dnd crash
author
Mike Blumenkrantz
<michael.blumenkrantz@gmail.com>
Thu, 6 Dec 2012 09:01:32 +0000
(09:01 +0000)
committer
Mike Blumenkrantz
<michael.blumenkrantz@gmail.com>
Thu, 6 Dec 2012 09:01:32 +0000
(09:01 +0000)
SVN revision: 80321
src/bin/e_dnd.c
patch
|
blob
|
history
diff --git
a/src/bin/e_dnd.c
b/src/bin/e_dnd.c
index
b321ada
..
96c2835
100644
(file)
--- a/
src/bin/e_dnd.c
+++ b/
src/bin/e_dnd.c
@@
-1467,6
+1467,13
@@
_e_dnd_cb_event_dnd_selection(void *data __UNUSED__, int type __UNUSED__, void *
if (!eina_hash_find(_drop_win_hash, id)) return ECORE_CALLBACK_PASS_ON;
if (ev->selection != ECORE_X_SELECTION_XDND) return ECORE_CALLBACK_PASS_ON;
+ if (!_xdnd)
+ {
+ /* something crazy happened */
+ ecore_x_dnd_send_finished();
+ return ECORE_CALLBACK_RENEW;
+ }
+
if (_type_text_uri_list == _xdnd->type)
{
Ecore_X_Selection_Data_Files *files;