git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Diambiguate ^H from backspace
[fanfix.git]
/
src
/
jexer
/
TApplication.java
diff --git
a/src/jexer/TApplication.java
b/src/jexer/TApplication.java
index cfa81f4bab05f6508cdbefe7acb53ed096a1df1e..e6c5819a22c58fb2195e0cfe185a7c4d8c43a2b1 100644
(file)
--- a/
src/jexer/TApplication.java
+++ b/
src/jexer/TApplication.java
@@
-1623,6
+1623,12
@@
public class TApplication implements Runnable {
windows.remove(0);
activeWindow = null;
for (TWindow w: windows) {
windows.remove(0);
activeWindow = null;
for (TWindow w: windows) {
+
+ // Do not activate a hidden window.
+ if (w.isHidden()) {
+ continue;
+ }
+
if (w.getZ() > z) {
w.setZ(w.getZ() - 1);
if (w.getZ() == 0) {
if (w.getZ() > z) {
w.setZ(w.getZ() - 1);
if (w.getZ() == 0) {