shellex icon indicating copy to clipboard operation
shellex copied to clipboard

Focus loss

Open mox-mox opened this issue 10 years ago • 2 comments

When starting shellex and moving the mouse, focus is sometimes lost.

Long version: Settings: Archlinux with i3wm with focus_follows_mouse set to no (so mouse movement should not cause focus changes).

When I start shellex (press $mod+d which causes i3wm to do exec /usr/bin/shellex), it launches and I can enter text. However, when I move the mouse the slightest, or if there are no other windows in this workspace, focus is immediateley lost. To regain control of shellex, I have to move the mouse over it.

mox-mox avatar Dec 22 '13 15:12 mox-mox

That is a know consequence of 16eb076, the fix for #16. I am undecided on what the most annoying side-effect is. Another solution would to regrab the input focus after it is lost, but that might well need to endless-loops with other programs misbehaving in a similar fashion. We discussed some workarounds for that too, but I haven't implemented anything yet. I will look into it over christmas.

Merovius avatar Dec 22 '13 15:12 Merovius

note to future self: we had a discussion at 33c3 that a look into the freedesktop ewmh (extended window manager hints) might be worth a look.

pseyfert avatar Dec 29 '16 22:12 pseyfert