Skip to content

Commit a9099bc

Browse files
committed
Update MyWindowListener.java
1 parent 6862939 commit a9099bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/MyWindowListener.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public void windowClosing(WindowEvent e) {
4747

4848
@Override
4949
public void windowDeactivated(WindowEvent e) {
50-
iconified = !parent.noFlash;
50+
iconified = true;
5151
new coloreChanger(parent).start();
5252
}
5353

@@ -59,7 +59,7 @@ public void windowDeiconified(WindowEvent e) {
5959

6060
@Override
6161
public void windowIconified(WindowEvent e) {
62-
iconified = !parent.noFlash;
62+
iconified = true;
6363
new coloreChanger(parent).start();
6464
}
6565

0 commit comments

Comments
 (0)