a17f7a13fd
The simple clients all just call wl_display_dispatch() in a while loop without checking the return value. Now, if the server dies or other error occurs, we get a -1 return value instead and need to break the loop.