Carlos Garnacho da0aac665f xwayland: Protect against crash on x11->wayland transfer cancellation
If the transfer is cancelled, the X11SelectionData will be cleared from
the MetaSelectionBridge, although x11_data_write_cb() was invariably
expecting it to be non-NULL.

If the write was cancelled, all the actions done in x11_data_write_cb()
are moot, so just return early. If there's other errors happening
(eg. "connection closed" if the target client happens to crash), we
should still attempt at clearing the data anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=754357
2015-10-02 12:21:17 +02:00
2015-07-06 00:52:18 -07:00
2015-09-20 18:53:28 +03:00
2014-03-18 20:37:35 -04:00
2015-08-10 17:23:23 +02:00
2015-09-21 21:52:14 +02:00
2015-07-06 00:52:18 -07:00
2014-07-31 17:50:28 +02:00
2015-09-21 21:52:14 +02:00
Description
91 MiB
Languages
C 98.9%
Meson 0.7%
Python 0.3%