diff options
-rw-r--r-- | src/xterm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c index bdf0804f895..1887c3255d4 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -9343,6 +9343,11 @@ handle_one_xevent (struct x_display_info *dpyinfo, goto OTHER; case VisibilityNotify: + f = x_top_window_to_frame (dpyinfo, event->xvisibility.window); + if (f && (event->xvisibility.state == VisibilityUnobscured + || event->xvisibility.state == VisibilityPartiallyObscured)) + SET_FRAME_VISIBLE (f, 1); + goto OTHER; case MappingNotify: |