shell: Fix segment fault when clicking to activate a NULL pointer_focus
authorAlex Wu <zhiwen.wu@linux.intel.com>
Mon, 5 Mar 2012 06:13:13 +0000 (14:13 +0800)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 8 Mar 2012 18:08:00 +0000 (13:08 -0500)
commit9c35e6b47d51c0a36581a4bb4023ccd85e61b834
treeddfa64213b2ea22ba8fdd071a9da5b71b2d5ac38
parentaa08e2d56dcf3d1e8091cb0f452f599fbe57b84a
shell: Fix segment fault when clicking to activate a NULL pointer_focus

This can happen for instance running a toytoolkit application, launching
the popup menu and then clicking on a surface that does not belong to
the client that create the popup surface.
src/shell.c