diff options
author | fvogel <fvogelnew1@free.fr> | 2020-06-06 19:56:28 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2020-06-06 19:56:28 (GMT) |
commit | 713dedd103bb6e51fc6ad17c3b8386b91ee34be6 (patch) | |
tree | 5e8c8548c2be76dcbbc17862ad1d048a604105e2 | |
parent | c6c4a8052b1935186c0efaf8269deac67e050a22 (diff) | |
download | tk-713dedd103bb6e51fc6ad17c3b8386b91ee34be6.zip tk-713dedd103bb6e51fc6ad17c3b8386b91ee34be6.tar.gz tk-713dedd103bb6e51fc6ad17c3b8386b91ee34be6.tar.bz2 |
Take into account that some WM, such as KDE/Plasma with the Aurorae theme engine, need a bit more time to setup a new toplevel and display its content.
-rw-r--r-- | tests/bind.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/bind.test b/tests/bind.test index 963119e..8ac5db8 100644 --- a/tests/bind.test +++ b/tests/bind.test @@ -6707,6 +6707,11 @@ test bind-35.1 {pointer warp with grab on master, bug [e3888d5820]} -setup { -highlightbackground black -bg yellow -text "My label" pack .top.l -side bottom update + # On KDE/Plasma _with_the_Aurorae_theme_ (at least), setting up the toplevel + # and the label will not be finished after the above 'update'. The WM still + # needs some time before the window is fully ready. For me 50 ms is enough, + # but let's wait more (it depends on computer performance). + after 100 ; update } -body { grab .top event generate .top.l <Motion> -warp 1 -x 10 -y 10 |