[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master c184033: Have X builds handle VisibilityNotify events (Bug#48268,
From: |
Martin Rudalics |
Subject: |
master c184033: Have X builds handle VisibilityNotify events (Bug#48268, Bug#48413) |
Date: |
Sat, 15 May 2021 03:21:28 -0400 (EDT) |
branch: master
commit c18403302df3f07a7f94c3984d65b808fb40e8c1
Author: Martin Rudalics <rudalics@gmx.at>
Commit: Martin Rudalics <rudalics@gmx.at>
Have X builds handle VisibilityNotify events (Bug#48268, Bug#48413)
* src/xterm.c (handle_one_xevent): Handle VisibilityNotify
events (Bug#48268, Bug#48413).
---
src/xterm.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/xterm.c b/src/xterm.c
index bdf0804..1887c32 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:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master c184033: Have X builds handle VisibilityNotify events (Bug#48268, Bug#48413),
Martin Rudalics <=