compositor: Use wl_pointer_set_current to cleanup after surface destruction
authorRob Bradford <rob@linux.intel.com>
Wed, 3 Apr 2013 14:21:55 +0000 (15:21 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 3 Apr 2013 16:05:57 +0000 (12:05 -0400)
commit91ae483ab9159b5a56a34853a6b06438d3e46479
treef545b8f034efec10bb76c6f126b4952556333e56
parent319b91b97a2d5db40eb182554e343d120d2d0d40
compositor: Use wl_pointer_set_current to cleanup after surface destruction

This API call handles setting the current surface on the wl_pointer and also
maintaining a destroy notification to monitor that surface for destruction.

This is part of the fix for: https://bugzilla.gnome.org/show_bug.cgi?id=696946
src/compositor.c