cairo-util: Rework frame button handling
authorJason Ekstrand <jason@jlekstrand.net>
Mon, 28 Oct 2013 03:25:03 +0000 (22:25 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 8 Nov 2013 00:35:06 +0000 (16:35 -0800)
commit0bdd58f6c05d9e2adb68135d27597100184c42f5
tree7f04ff5e8fabf576376f141b0ea0a4c4ed4ae0c1
parent48ce42177fb8189cd3ef8b9a08c121794a3e7247
cairo-util: Rework frame button handling

This makes button handling more correct concerning drags.  Also,
frame_pointer_button returns the original button location in the case of a
release.  This makes filtering of button events much easier for users of
the cair-util frame code.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
shared/cairo-util.h
shared/frame.c