Re: [dev] [dmenu] 4.9 release messes with input focus

From: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Tue, 12 Feb 2019 19:13:29 +0100

On Tue, Feb 12, 2019 at 10:57:31AM +0100, Michał Kępień wrote:
> Hi!
>
> Commit 377bd37 ("Handle IME input") appears to have broken input focus
> handling on my box. I am using i3 as my window manager.
>
> I originally observed the problem when I started KeePassX using dmenu
> right after i3 startup and the CTRL+O keyboard shortcut did not cause an
> "Open" dialog to pop up. I had to use i3's keyboard shortcut for moving
> focus in order to make it work.
>
> Another simple reproduction procedure involves a terminal emulator:
>
> 1. Start i3.
>
> 2. Open a terminal emulator window using i3's keyboard shortcut. Its
> cursor will be filled.
>
> 3. Without switching workspaces, open another terminal emulator window
> using dmenu 4.9. Its cursor will be hollow, despite its window
> border indicating that it is focused.
>
> Downgrading to dmenu 4.8 or removing the XSetInputFocus() call from
> commit 377bd37 fixes the problem.
>
> My knowledge of X11 is too limited to suggest a proper fix, sorry.
> Please let me know if I can be of further assistance.
>
> Hope this helps,
>
> --
> Best regards,
> Michał Kępień
>

Hi,

I've pushed a patch. Please let me know if this works for you too.

I'm unsure about the focus issue though. Patches for this (separate) issue are
welcome.

-- 
Kind regards,
Hiltjo
Received on Tue Feb 12 2019 - 19:13:29 CET

This archive was generated by hypermail 2.3.0 : Tue Feb 12 2019 - 19:24:07 CET