compositor-wayland: Call notify_pointer_focus() for content area only
authorKristian Høgsberg <krh@bitplanet.net>
Tue, 14 Aug 2012 03:29:53 +0000 (23:29 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 14 Aug 2012 14:17:06 +0000 (10:17 -0400)
commit539d85f69dc43cb75918ad3f3d705edf80db08f8
treec2b7c0f9af155f43c2c436d6aea8dc5ca2c6fb11
parent86adef9d54d41b1594749c00abab24482248fa5c
compositor-wayland: Call notify_pointer_focus() for content area only

We don't want to send enter/leave events to the compositor when the pointer
enters the surface, only when the pointer enters the content area.  This
avoids hiding the cursor when entering the frame and sending out-of-bounds
coordinates to notify_pointer_focus().
src/compositor-wayland.c