vkdisplay: hold a weakref on the list of windows
authorMatthew Waters <matthew@centricular.com>
Wed, 5 Oct 2016 01:11:19 +0000 (12:11 +1100)
committerMatthew Waters <matthew@centricular.com>
Wed, 5 Oct 2016 01:20:52 +0000 (12:20 +1100)
commit4e3cb77fa8ed0e71793a06e7aa5a46233c5dfe00
treed1bc42c258b86e887b56679562ef96bf96a9ae40
parent1b3de55eb1d61165f1965a73036f0c477a246787
vkdisplay: hold a weakref on the list of windows

It's possible that the window may have been destroyed when a winsys
event comes in for it.

Fixes an assertion in make -C tests/check generic/states.check
ext/vulkan/vkdisplay.c