[dev] [dmenu] option to pin focus to mouse

From: (wrong string) Станислав Селецкий <s.seletskiy_AT_gmail.com>
Date: Mon, 8 Oct 2012 13:08:50 +0700

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

Received on Mon Oct 08 2012 - 08:08:50 CEST

This archive was generated by hypermail 2.3.0 : Mon Oct 08 2012 - 08:12:05 CEST