Skip to content

[API to Hide MainWindow] Add new plugin api to hide mainwindow or clear focus #2132

@rainyl

Description

@rainyl

Is your feature request related to a problem? Please describe.

For a plugin like clipboard manager, it will be convenient to click a query result to paste to the background application such as a chatting dialog, but for now, the FlowLauncher will get focus and there is no such api in IPluginAPI to hide the focus, the only way to paste a result is copy it to clipboard and paste it manually.

Describe the solution you'd like
Just add an api like ShowMainWindow(), but something like HideMainWindow() or ClearFocus() to IPluginAPI and a corresponding implementation.

Describe alternatives you've considered

None

Additional context

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions