Skip to content

Layout engines now ignore minimized windows#197

Merged
N1x0 merged 7 commits into
workspacer:masterfrom
dalyIsaac:minimize-windows
Jun 28, 2021
Merged

Layout engines now ignore minimized windows#197
N1x0 merged 7 commits into
workspacer:masterfrom
dalyIsaac:minimize-windows

Conversation

@dalyIsaac
Copy link
Copy Markdown
Member

Resolves #72

@josteink
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member

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

@josteink
Copy link
Copy Markdown
Member

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

Copy link
Copy Markdown
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
Copy Markdown
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