add selection functions to xdg-monitor
handle selection clear in xdg-monitor