wayland: Refine enter/leave event handling
authorRob Bradford <rob@linux.intel.com>
Thu, 8 Dec 2011 17:39:15 +0000 (17:39 +0000)
committerRob Bradford <rob@linux.intel.com>
Thu, 8 Dec 2011 17:44:53 +0000 (17:44 +0000)
commit320356e97f2312f8ad4285ca436dca71a69c7cec
tree5c0be857dad83e0bf88ee02ab4b5d46171fb6d2f
parent34cc45dae5f05be80e3eb389c55e40aed2e97bf4
wayland: Refine enter/leave event handling

The Wayland protocol now has events represent when a pointer enters the
surface and when it leaves again.

For leaves the surface is not set in the event, for enters the surface is set.
Simply use this to determine whether to emit CLUTTER_ENTER or CLUTTER_LEAVE.
clutter/wayland/clutter-input-device-wayland.c