Update pointer and keyboard focus on new listeners
authorDaniel Stone <daniel@fooishbar.org>
Wed, 30 May 2012 15:31:39 +0000 (16:31 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 31 May 2012 17:58:49 +0000 (13:58 -0400)
commit17b13bd89f70c82c29cad8a2d2614b0b304adf7d
treeb33286bbec50634d4bc79319e8a36572db7a52bc
parent3ae50bb45c4087da7b6de7733e8b44a5ea720398
Update pointer and keyboard focus on new listeners

If we get a new wl_pointer or wl_keyboard listener from the client
currently owning the focus resource, issue another
wl_{pointer,keyboard}_set_focus so the focus_resource can be updated and
the client can receive an enter event.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
src/compositor.c