xdg-shell: Add invalid_parent error to xdg_popup
authorJonas Ådahl <jadahl@gmail.com>
Fri, 27 Feb 2015 10:37:41 +0000 (18:37 +0800)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Fri, 27 Feb 2015 12:59:18 +0000 (14:59 +0200)
commit24185e2561d8d31bdc8176f7c1844bc685ce0252
treee9f6ac11abf619a76fdd9a7fcc0ac935f9167d1a
parentda6ecd0cc52a691618e43f1783bc73def425a889
xdg-shell: Add invalid_parent error to xdg_popup

Send an invalid_parent error when the client tries to create a popup
with a paren that is neither a xdg_surface nor a xdg_popup.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
desktop-shell/shell.c
protocol/xdg-shell.xml