xwayland: Allow dump_property when selection fails
authorBryce Harrington <bryce@osg.samsung.com>
Sat, 11 Jul 2015 01:13:48 +0000 (18:13 -0700)
committerBryce Harrington <bryce@osg.samsung.com>
Sat, 11 Jul 2015 01:13:48 +0000 (18:13 -0700)
commitda41b5739df1a9768a97c77d80a8d9c513a2bd6f
treed089433f99268805d640be92162c524860f2ddbc
parentb2d79d504efaab06088a011bf25c9affe1dbc3d1
xwayland: Allow dump_property when selection fails

dump_property allows reply to be NULL.  Calling it unconditionally will
ensure user knows where the selection failed.

Also refactor code a bit.

Suggested by Marek Chalupa
xwayland/selection.c