commit | bc5d849c9d2088b22744d40840b5663c2ea4f385 | [log] [tgz] |
---|---|---|
author | Jonas Ådahl <jadahl@gmail.com> | Wed Oct 07 14:44:50 2015 +0800 |
committer | Derek Foreman <derekf@osg.samsung.com> | Wed Oct 07 11:43:59 2015 -0500 |
tree | bd069d7122863498d012c0bf8eff183b16843b5f | |
parent | 3f607d3e1c66e7f9e6d45f324c95638039e7c71b [diff] |
desktop-shell: NULL check whether a popup parent is a shell surface get_shell_surface(parent) may return NULL if the client passed a unassigned wl_surface or a wl_surface with a non-shell surface role (such as cursor role). https://bugs.freedesktop.org/show_bug.cgi?id=92316 Signed-off-by: Jonas Ådahl <jadahl@gmail.com> Tested-by: Olivier Fourdan <ofourdan@redhat.com> Reviewed-by: Derek Foreman <derekf@osg.samsung.com>