Resolves: tdf#145786 get the correct bounds with window scaling enabled
commitd69b3007b6417395ac726c1c3ef1466f7cb2f829
authorCaolán McNamara <caolanm@redhat.com>
Thu, 25 Nov 2021 12:37:40 +0000 (25 12:37 +0000)
committerCaolán McNamara <caolanm@redhat.com>
Thu, 25 Nov 2021 14:05:08 +0000 (25 15:05 +0100)
tree6bbedee75edb1509bcf8d294654072052fd78a71
parent70dd00f23ee53ea5ae7f3c292906335fb6000ab4
Resolves: tdf#145786 get the correct bounds with window scaling enabled

the per-window/app scaling as opposed to the global desktop one which
wasn't affected.

the menubutton thought it saw the mouse release happen outside the
window it popped up when the combobox inside it was clicked, so popped
down the popup from underneath the combobox.

Change-Id: Iace9538073bb2380443d87600a872e88885934d3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125807
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
vcl/unx/gtk3/gtkinst.cxx