diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-12-12 14:17:11 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-12-12 21:35:54 +0100 |
commit | 6315b8cbbd7b7e67d824e1dba4414bdf61e3e061 (patch) | |
tree | c7d746e408cb1d14b0cf7840d0058c0c062a262c /codemaker | |
parent | 2bfef3e6eedfc0e4eada1ddeba723dbc3ff83a4f (diff) |
tdf#114408 set correct tooltip rectangle
The original code tried to get the position of the window relative
to its parent and then ask the parent to adjust that position to
a position relative to the toplevel. But the position to use in
that case should have be WindowImpl::nX/WindowImpl::nY not GetPosPixel()
Much easier to just directly ask the the current window for its position
relative to the toplevel.
Change-Id: Iff202f052bc651a8c0e3a57ff3322e5e2a3e4b9a
Reviewed-on: https://gerrit.libreoffice.org/46314
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'codemaker')
0 files changed, 0 insertions, 0 deletions