-
-
Notifications
You must be signed in to change notification settings - Fork 272
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
Rewrite minimization-related modules #102
Conversation
377e459
to
8965811
Compare
I think another PR containing something similar to @515429ff has now been merged, so this now has a conflict. |
22f72f7
to
d4f4f0d
Compare
What's the status of this PR? |
@byorgey |
@IvanMalison this PR should leave the old behaviour as is(as geekosaur said), so yes |
@f1u77y are you planning to make the changes needed to get this merged? This should get merged before .13 right? |
@f1u77y What is the status of this PR? It looks like it no longer contains any conflicts. The only problem I see is that this PR deletes |
2036556
to
c70759b
Compare
@pjones ok, I've restored that module but it was marked as deprecated(in
docs) in 2010. Isn't it enough?
…On 02/07/2017 04:10 AM, Peter J. Jones wrote:
@f1u77y <https://github.com/f1u77y> What is the status of this PR? It
looks like it no longer contains any conflicts.
The only problem I see is that this PR deletes |X.H.RestoreMinimized|. I
think we should actually add some |{-# DEPRECATED #-}| pragmas first,
before we git rid of it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#102 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKyf5WyV8TOwCCHsJoRh0g-VRgF8L0YWks5rZ8SLgaJpZM4KfjE_>.
--
Bogdan Sinitsyn
|
How many people read docs, especially after they have something working? The pragma means they get a warning every time they recompile their config. |
IS there anything blocking merge here? |
Someone needs to review the code and test it with their config. So it's just a matter of when a core team member having the time to do so. This issue is part of the v0.14 milestone which I'm hoping will be released in Q2 of this year. |
@f1u77y Please add an entry to |
I'd be happy to add to the CHANGES.md. Lets get this merged |
Add Changes.MD here https://github.com/IvanMalison/xmonad-contrib/tree/rewrite-minimize |
@f1u77y Can you merge in the changes from @IvanMalison, and then rebase and squash commits? Thanks. |
@f1u77y This still needs a squash |
@pjones Actually, because of the way the merges were done (I realize that this is against the contributing guidelines) a squash would be somewhat difficult. It would be possible to go back and cherry-pick all of the relevant commits on top of the current HEAD of contrib if you would prefer that. I think it might be better to just leave the history as is. |
3f66747
to
0920e51
Compare
@f1u77y Awesome! Thanks for doing that. Last question. Since I don't use this module, what can users expect upon upgrade? Will their configuration files still compile and work? |
No, because old configuration uses sending messages to layout and new one uses functions instead. I think the docs are descriptive enough to let user migrate easily. EDIT Another way is leave old modules as is and rename the new modules, so users won't be left with non-working configs but I think it's a little messy. |
I think it's okay to break things. But, please add an entry to the change log in the "breaking changes" section that makes it clear that config files need to be updated after the upgrade. Thanks. |
@pjones done. If there are no other questions I'll squash it. |
* Use global state instead of per-layout - so now window is minimized on all workspaces (EWMH requires that windows with _NET_WM_STATE_HIDDEN set should be minimized on any workspace but previously they were not) * Use `windows` instead of `modify`. That should fix bugs related to actions that should be done by `windows` and not done by `modify` (fixes xmonad#46) * Mark module X.H.RestoreMinimized as deprecated
Looks good. After you squash please rebase on master. The bit in the change log about the manage hook was removed in a recent commit. |
2b6e1c5
to
c99606b
Compare
I don't understand what bit are you talking about(is it c99606b#diff-8b1c3fd0d4a6765c16dfd18509182f9dL78 ?). This branch is up-to-date with upstream/master, so rebasing has no effect. |
I'm talking about the "ewmh function from X.H.EwmhDesktops" text in Thanks for all the work on this. |
all workspaces (EWMH requires that windows with _NET_WM_STATE_HIDDEN
set should be minimized on any workspace but previously they were not)
windows
instead ofmodify
. That should fix bugs related toactions that should be done by
windows
and not done bymodify
(fixes multiple windows are highlighted as active when using X.L.Minimize #46)TODO 515429f should be moved to another PRUPD TODO entry in CHANGES.md