wlt: theme: fix bug in pointer-location computation
authorDavid Herrmann <dh.herrmann@googlemail.com>
Fri, 5 Oct 2012 11:21:12 +0000 (13:21 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Fri, 5 Oct 2012 11:21:12 +0000 (13:21 +0200)
commit5f53f2576af28c953b95763ebdbc892d2f00ece4
tree7742574eae6e083151953c437830cffc695775b1
parent5f1af984d7e64f7caa4de199aa2acd8ef7b50757
wlt: theme: fix bug in pointer-location computation

We need to subtract the allocation because we get absolute pointer data as
input. This doesn't matter for the theme as long as it is the root widget,
but this might change when we introduce shadows.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/wlt_theme.c