pop-os/cosmic-comp

Request: Only show active window hint if there are multiple windows in workspace

Opened this issue · 3 comments

In workspaces with only a single window, it can be more visually cluttered for no benefit if active window hints are shown (this is an even larger issue imo if the dock/panel are not set to auto-hide).

A solution could be to change

let active_hint = if shell.active_hint {

to

    let active_hint = if shell.active_hint && workspace.mapped().nth(1).is_some() {

I also suggested this as part of #723, though that was specifically just for maximizing when tiling. Would you also want to remove the border in floating mode with a single window?

I also suggested this as part of #723, though that was specifically just for maximizing when tiling. Would you also want to remove the border in floating mode with a single window?

Yes, I would. I think that there's no additional information gained from having the active hint enabled when there's only one window on the workspace.

Then I think it should at least be configurable. I personally like it the way it is for non-maximized windows currently.