elm_cnp: refactor selection_get callbacks
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>
Fri, 23 Sep 2016 08:45:03 +0000 (10:45 +0200)
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>
Fri, 23 Sep 2016 09:15:14 +0000 (11:15 +0200)
commit0e0d0179c36c041262a29bd01c30739488ff965d
tree1e061cf2faa2c9560fcbd0b8be9949ba57715b97
parentb05f6dc1d75a88dd3a84ee18e9749e742164f2d2
elm_cnp: refactor selection_get callbacks

before the format was not passed correctly, now the format is passed
correctly to the callback.

Also if a dnd operation was started while a cnp receive call was
going on (this happend because weston-editor failed to close the fd, so
EOF was never sent), then elm_cnp would behave wrong, since the
requestwidget, action, format would be different.
src/lib/elementary/elm_cnp.c