Hello. Some window managers like "awesome" do not release focus from active window when mouse entering void zone (where no window located). It's ok, when you have one screen, but if there are two screens or more there is a problem.
Imagine that you have 2 screens: one screen contains focused window and second screen is empty. So when you move mouse to second screen and launch dmenu, it appears on the first screen because of wm do not release focus from focused window. I think it will be useful, if dmenu have an option to explicitly specify that i want launch dmenu on the screen, that contains mouse cursor. Trivial patch in the attachment. If there is more graceful way to achieve this behavior, please let me know. Thanks for the attention. -- Seletskiy Stanislav
pin-focus.patch
Description: Binary data