-
-
Notifications
You must be signed in to change notification settings - Fork 278
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
Export 'Mag' and 'Toggle' from Magnifier #821
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Hm, strictly this breaks PVP so should have a major version bump. But I think we're headed that way anyway, whenever we get around to the next release. (0.17.2 didn't contain any of these changes, just what was needed for GHC 9.6 and its bundled libraries.) |
Duplicate of #583 Further, the |
|
Ah, right, we use the same number twice… Well, looks like we just need a more general combinator then? |
I didn't realize this was a duplicate, but I see now that it is. I have tested doing some changes in a branch in my fork that might be better, where I have changed Is this more in line with what you were thinking @slotThe, if so I can create a Pull request for the new branch, or merge it into this pull request. |
Mh, I was more thinking of creating another (yet another, I know…) general combinator; I'm not sure a breaking change is warranted here |
So in essence another 'magnify' then? |
What's "a bit dirty" about it? If anything, I'd say the one that requires users to use |
I mean compared to my previous proposed solution, changing But both of them work well. It is like you say, way less dirty than using |
Right, but changing |
Aha, that makes more sense then, thanks. I will see if I can figure out some better names for the combinators and create a PR for these changes. |
Closed by #822 |
Description
Include a description for your changes, including the motivation
behind them.
I've made XMonad.Layout.Magnifier export All constructors under 'Magnifier' and 'Toggle', so that it is possible to make custom magnifiers, with control over size both horizontally and vertically.
Example:
Checklist
I've read CONTRIBUTING.md
I've considered how to best test these changes (property, unit,
manually, ...) and concluded: This works exactly how I want it to work
I updated the
CHANGES.md
file