Skip to content

Release the focus when hiding #332

Description

@dreadnaut

Keypirinha currently keeps focus when it executes a command, e.g., it launches a program. This goes usually unnoticed, because the newly launched program opens a new window and takes the focus.

However, if the command does not open a window, the focus stays with Keypirinha, even if Keypirinha is configured to hide from view. Programs that behave like this often open as a tray icon, such as PuTTY's credentials agent.

Hitting Alt-F4 at this point would close Keypirinha, instead of the topmost window.

I suppose the launcher hides its window, but does not actually "minimize" and drop in the window stack. It's a minor annoyance, but hopefully not too difficult to fix.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions