diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-09-01 09:27:48 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-09-02 00:35:51 +0200 |
commit | 7f20ca352840c5b877f7aebdf021b5ea65835560 (patch) | |
tree | 5d549a6f7e688961ce92d4afdaff2af91a489d2e /vcl/CustomTarget_nativewriter.mk | |
parent | d9527fd01fd2674deb6868084d056861db5447fa (diff) |
Use FPicker parentwindow argument to set file picker parent
the secret argument of xParentWindow already exists
here we use XSystemDependentWindowPeer and getWindowHandle to get the window
handle (which is a bit spurious in the wayland case but close enough) and then
look up all our toplevel frames for a matching one in order to get the
associated widget to use a a parent window
If the fpicker was still in fpicker we could get the vcl::Window for the
xParentWindow and get the frame directly from that but that necessitates
linking to toolkit, so do it this way instead
Change-Id: Ia6f51e6d2016587c1f314d7a0b1f9a20269facd0
Reviewed-on: https://gerrit.libreoffice.org/41808
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 'vcl/CustomTarget_nativewriter.mk')
0 files changed, 0 insertions, 0 deletions