weston/xwayland
Derek Foreman 4e18448286 xwm: Don't clear the selection if it has no text type available
weston maintains a copy of the most recently selected "thing" - it picks
the first available type when it copies, and saves that one only.

When an application quits weston will make the saved selection active.

When xwm sees the selection set it will check if any of the offered types
are text.  If no text type is offered it will clear the selection.

weston then interprets this in the same way as an application exiting and
causing the selection to be unset, and we get caught in a live lock with
both weston and xwayland consuming as much cpu as they can.

The simple fix is to just remove the test for text presence.

Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
Reviewed-by: Carlos Garnacho <carlosg@gnome.org>
2016-02-04 16:10:36 -08:00
..
dnd.c xwayland: zalloc the x11_data_sources 2016-02-01 13:22:33 -08:00
hash.c Move xwayland up one directory level 2013-12-04 10:20:02 -08:00
hash.h Move xwayland up one directory level 2013-12-04 10:20:02 -08:00
launcher.c Unified multiple definitions of container_of() macro. 2015-06-15 17:11:58 -07:00
selection.c xwm: Don't clear the selection if it has no text type available 2016-02-04 16:10:36 -08:00
window-manager.c xwm: let the shells decide the position of X windows 2015-12-18 11:48:25 -06:00
xwayland.h xwm: let the shells decide the position of X windows 2015-12-18 11:48:25 -06:00