commit | 01e7b006db1c76ccbc73078e47a124dafc11bd3b | [log] [tgz] |
---|---|---|
author | Pekka Paalanen <ppaalanen@gmail.com> | Thu Dec 08 16:42:33 2011 +0200 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Thu Dec 08 13:00:26 2011 -0500 |
tree | a31162f40f20221e51c0910625008f92e903cda0 | |
parent | 9b935c823904ea9ef7366e928b9276a9b84ffa18 [diff] |
shell: fix set_transient In the wl_shell_surface migration, I forgot to correct one cast in shell_surface_set_transient(). 'parent_resource' is not a (struct wlsc_surface *) but (struct shell_surface *). This bug corrupts a wlsc_surface::output field, which later (in my experiments) leads to a segmentation fault in surface_frame(). Fix the casts. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>