bugfix: Check for parent surface before creating popup
authorvivek <vivek.ellur@samsung.com>
Tue, 2 Sep 2014 12:34:52 +0000 (08:34 -0400)
committerChris Michael <cp.michael@samsung.com>
Tue, 2 Sep 2014 12:35:50 +0000 (08:35 -0400)
commit992f99930151458673972d34c17f444c1875f44e
tree22a7afa2708955c6b89f1eb318ce251ea396e38e
parent8a10f288ad43611966403f352acf44ff64ad71b9
bugfix: Check for parent surface before creating popup

xdg_shell requires a parent surface in order to create a popup, so we
should check the validity of the parent resource and error out
accordingly

Summary: Signed-off-by: vivek <vivek.ellur@samsung.com>

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1388
src/modules/wl_desktop_shell/e_mod_main.c