X11: Don't reuse perm_invent window for picking an object

The core wants to reuse the permanent inventory window for choosing
an object from inventory, but the perm_invent window could be
hard to focus - it could even be on another display!

Instead, create a temporary new window from which the user can
pick an inventory item.
This commit is contained in:
Pasi Kallinen
2018-10-16 17:39:42 +03:00
parent e0f5cfe0b3
commit ddf6d13fd1
2 changed files with 18 additions and 0 deletions

View File

@@ -236,6 +236,7 @@ X11: allow mouse wheel scrolling to work in menus by default
X11: handle paged menu control keys
X11: remember perm_invent window geometry
X11: handle X errors via panic
X11: don't reuse perm_invent window for picking an object
General New Features