Skip to content

Layout engines now ignore minimized windows #197

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

Merged
merged 7 commits into from
Jun 28, 2021

Conversation

dalyIsaac
Copy link
Member

Resolves #72

@josteink
Copy link
Member

Given @rickbutton 's reply on the original issue:

So far this is intentional. Workspacer overrides the "minimize"/"show" actions of the default window manager. i.e. it will send a "show" message to a minimized window as soon as you click minimize.

... I guess this change should probably be enabled by a config-setting and not a hard-coded default like here.

@dalyIsaac
Copy link
Member Author

I've updated it to so that IConfigContext has a Boolean CanMinimizeWindows. However, I'm not sure if this is the best place for it in the config.

The default behaviour is now to not allow minimizing.

@dalyIsaac dalyIsaac force-pushed the minimize-windows branch 2 times, most recently from c3dd38d to cdb2c93 Compare March 20, 2021 02:59
Copy link
Member

@josteink josteink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@josteink
Copy link
Member

@rickbutton What do you think about this PR as it looks now?

@josteink
Copy link
Member

Can anyone else (with write-access) review and approve this PR? It needs one more approval.

Copy link
Contributor

@N1x0 N1x0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good, would only ask to also update the docs & default config file with the additional flag to make sure users are aware of it's existence.

Copy link
Contributor

@N1x0 N1x0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@N1x0 N1x0 merged commit fd4fc7e into workspacer:master Jun 28, 2021
@dalyIsaac dalyIsaac deleted the minimize-windows branch June 28, 2021 04:31
@dalyIsaac dalyIsaac added this to the 0.9.11 milestone Jun 29, 2021
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

Successfully merging this pull request may close these issues.

Unable to minimize windows
5 participants