Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
"showdesktop" done twice changes the active window #64
This is meant more as a possible enhancement, not as a bug report.
If I start several terminal windows, then I get a nice window cascade. Doing a "showdesktop" (by whatever method) minimizes them all, doing "showdesktop" once more restores them all with their prior position, size, and stacking order. What changes is which window has the focus. Before minimizing them with "showdesktop", the window at the top of the cascade has the focus (the one that was opened last). After restoring them with a second "showdesktop", the window at the bottom of the cascade has the focus (the one that was opened first, and that is "behind" all others).
The change of focus is a bit unexpected and could perhaps be avoided programmatically.