Skip to content

Support for minimize-raise behavior #71

Description

@ffs-akl

I’m using sfwbar, and I have the following action configured:

action[Drag] = if windowinfo("focused") minimize() else focus();

With labwc, this allows me to click a window icon in the taskbar and get the following behavior: if the corresponding window is not focused, it will be focused; if it is already focused, it will be minimized.

I find this particularly useful when using a stacking compositor/window manager. There is a video demonstrating this behavior here:

labwc-mini-raise.mp4

However, with shojiwm, I can only focus an unfocused window. Clicking the icon of an already focused window does not minimize it.

Is this the expected behavior in shojiwm?

shijiwm-mini-raise.mp4

If so, is there any way to achieve the same behavior — that is, clicking an unfocused window's icon in the taskbar focuses it, while clicking the icon of the currently focused window minimizes it?

Thank you for your time, and I appreciate any guidance you can provide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions