compositor: Set pointer->current before calling focus handler
authorKristian Høgsberg <krh@bitplanet.net>
Mon, 4 Jun 2012 20:12:38 +0000 (16:12 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 4 Jun 2012 20:12:38 +0000 (16:12 -0400)
commit4e99ac4f2070745642c293a6424f5e661ead24b9
treee4c27cc5d30d68cf93b7c7233b512e497c9173df
parent8591dbf8b50226407568f5cca531b6b411cb0718
compositor: Set pointer->current before calling focus handler

The grab interface handlers all expect pointer->current to identify
the surface under the pointer regardless of grabs etc.  Thus, we need
to set it before calling the focus handler.
src/compositor.c