xdg_shell_v6: Reset role data 42/295242/2
authorSeunghun Lee <shiin.lee@samsung.com>
Fri, 2 Jun 2023 04:36:09 +0000 (13:36 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Tue, 4 Jul 2023 07:03:00 +0000 (07:03 +0000)
commit73648cbb08902d530eaa10d47819f18fcf1fb137
treeacc06d9ed58d61fe07961239ff21a7f4fa9b6be9
parent800751f4b02a010c0275a56246bb5033e722e069
xdg_shell_v6: Reset role data

It has to reset role data when xdg_toplevel_v6 is destroyed.
Otherwise, the role->commit() callback can be called with a freed
toplevel pointer and the process would end up being crashed.

Change-Id: Ida94443c1bb256847b8a1cbadd69db94afef452b
src/xdg_shell_v6/xdg_toplevel_v6.c