Not strictly an answer for KeepassX and kind of a workaround...
I tend to use xdotool
in those cases, it's great for window tinkering and automation.
You could do something like xdotool search --name keepassX windowactivate
Just make sure --name
is the same as the window title.
And then make a keyboard shortcut to that command or put it in Keepass's launcher.