window: let menu and tooltip redraw use widget size
authorPekka Paalanen <ppaalanen@gmail.com>
Wed, 13 Feb 2013 14:17:22 +0000 (16:17 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 14 Feb 2013 17:34:45 +0000 (12:34 -0500)
commit0a9686f51ce4f5ef1812c5ef12928bb35beb12eb
tree393a700f991ef0faff02ebd8b18c3478b63fdc24
parent61e028c953d25722b83e13d37f5c6b30593750aa
window: let menu and tooltip redraw use widget size

Menu and tooltip redraw functions were using the surface size directly.
For consistency, make them use the widget size instead, it is the same.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
clients/window.c