Jonas Ådahl 4d23e7c202 wayland: Fix caching of surface state
The commit 97a69cee5a12e11912b09f6617001a7da005f264 broke the caching of
the surface state when because the frame_callback_list target state was
overwritten after the content had been moved to it.

This commit fixes it by moving the frame list addition after the copy. We
also need to initialize the list since the plain copy put garbage in it.

https://bugzilla.gnome.org/show_bug.cgi?id=743678
2015-01-29 15:48:46 +08:00
..
2015-01-21 14:52:55 +01:00
2014-12-28 19:51:22 -08:00
2015-01-21 13:27:09 +01:00