With Wayland we can't just share X11 windows/screens; we need to ask for
a stream from the compositor. Add support for that, falling back to the
direct mode if it isn't present (since *Pidgin* can be using X11 even
when the system is Wayland).
purple_debug_info("network","Received Network Change Notification. Current network count is %d, previous count was %d.\n",new_count,current_network_count);