Set the view to NULL when unmapping an X11 window
authorDima Ryazanov <dima@gmail.com>
Fri, 15 Nov 2013 10:01:18 +0000 (02:01 -0800)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 3 Dec 2013 23:54:44 +0000 (15:54 -0800)
commite5a320837319ed91868b9e4311150527847db9f4
treee4c79f599e66911cb4e14f0bded0c780e7d6cd1f
parent767d891c35f396cb90b298e0ae782ce80a0ad6c8
Set the view to NULL when unmapping an X11 window

Fixes a crash caused by accessing a deleted view in weston_wm_window_schedule_repaint. It can be easily reproduced by switching between menus in Firefox.

Signed-off-by: Dima Ryazanov <dima@gmail.com>
src/xwayland/window-manager.c