From 05e8d0f3050ac0de7af8bfe922b0d6d6f7c140ca Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Sat, 4 Apr 2020 17:50:06 +0100 Subject: [PATCH] testcases: update comments in issue357.py Signed-off-by: Yuxuan Shui --- tests/testcases/issue357.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/testcases/issue357.py b/tests/testcases/issue357.py index 0d1859d..ae637de 100755 --- a/tests/testcases/issue357.py +++ b/tests/testcases/issue357.py @@ -11,17 +11,16 @@ root = setup.roots[0].root visual = setup.roots[0].root_visual depth = setup.roots[0].root_depth -# issue 239 is caused by a window gaining a shadow during its fade-out transition +# issue 357 is triggered when a window is destroyed right after configure_root wid = conn.generate_id() print("Window 1: ", hex(wid)) # Create a window conn.core.CreateWindowChecked(depth, wid, root, 0, 0, 100, 100, 0, xproto.WindowClass.InputOutput, visual, 0, []).check() -# Set Window name so it doesn't get a shadow +# Set Window name set_window_name(conn, wid, "Test window 1") -# Map the window, causing picom to unredirect print("mapping 1") conn.core.MapWindowChecked(wid).check() time.sleep(0.5)