[PATCH weston] desktop-shell: don't assume there's a pointer when mapping a popup

Jonny Lamb jonny.lamb at collabora.co.uk
Wed Aug 6 02:51:26 PDT 2014


On mer, 2014-08-06 at 11:50 +0200, Jonny Lamb wrote:
> -	if (shseat->seat->pointer->grab_serial == shsurf->popup.serial) {
> +	if (shseat->seat->pointer &&
> +	    shseat->seat->pointer->grab_serial == shsurf->popup.serial) {

This should also be applied to the 1.5 branch (it applies cleanly).

-- 
Jonny Lamb



More information about the wayland-devel mailing list