Fix #911: can't rename or create directories, while file name outside the window
authorColin Clark <colin.clark@cclark.uk>
Mon, 26 Jul 2021 09:30:05 +0000 (10:30 +0100)
committerColin Clark <colin.clark@cclark.uk>
Mon, 26 Jul 2021 09:30:05 +0000 (10:30 +0100)
commit9da6b1e3a9b6dbea4af3e8b4ee98077c310b141f
treec76053aa1a4f5ebb7ae685f6f5ff8a5f991f769c
parentfebb790466dd73e75c608c73e6bed5ebd385cbb8
Fix #911: can't rename or create directories, while file name outside the window

https://github.com/BestImageViewer/geeqie/issues/911

Using gtk_tree_view_get_bin_window() sometimes resulted in a negative x
value.

Use the window of the parent widget instead.
src/ui_tree_edit.c