Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "At least one shown window is maximized" option #8

Open
Kevadroz opened this issue Mar 15, 2024 · 4 comments
Open

Add "At least one shown window is maximized" option #8

Kevadroz opened this issue Mar 15, 2024 · 4 comments

Comments

@Kevadroz
Copy link

This plasmoid is often used in conjunction with borderless maximized windows, where a panel acts as a sort of replacement for the titlebar, so an option to always target the topmost visible maximized window would be a nice addition.

Not sure how to handle "always on top" and "always behind" windows.

@moodyhunter
Copy link
Owner

moodyhunter commented Mar 15, 2024

I'm currently using this plasmoid exactly as you've described:

Screenshot_20240315_231312

By "an option to always target [the topmost visible maximized window]", did you mean the maximized window regardless of whether it is active or not?

@Kevadroz
Copy link
Author

I meant that if there's a (not maximized) window on top of the maximized one, regardless if that window is active or not the applet targets said maximized window

For example if you have a maximized browser open and you open a file manager that's not maximized the buttons still target the browser, but if you maximize the file manager now the buttons target the file manager.

We probably are on the same page, anyways.

@moodyhunter
Copy link
Owner

Cool I've got your point, will add that if I find spare time :)

@Kevadroz
Copy link
Author

Kevadroz commented Mar 15, 2024

Not sure how to handle "always on top" and "always behind" windows.

If you choose to handle this case, maybe you could give priority to the active window and target it if it's maximized, regardless of what is above it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants