summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index f8ac23e53b9..6ab4a03002d 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -11551,7 +11551,7 @@ x_make_frame_visible (struct frame *f)
poll_for_input_1 ();
poll_suppress_count = old_poll_suppress_count;
#endif
- if (FRAME_VISIBLE_P (f))
+ if (! FRAME_VISIBLE_P (f))
x_wait_for_event (f, MapNotify);
}
}