summaryrefslogtreecommitdiff
path: root/hyprtester/src/tests/main/gestures.cpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2025-10-29 23:21:28 +0000
committerGitHub <noreply@github.com>2025-10-29 23:21:28 +0000
commit6ade4d58cab67e18aa758ef664e36421cab4d8b2 (patch)
treebab86dd894b6720136ffaa4dcc0bc4267cd119a7 /hyprtester/src/tests/main/gestures.cpp
parent83a0a62004ee915921ac36a96760944ad6550e1e (diff)
layout: fit floating window on toggle to float (#12139)
Diffstat (limited to 'hyprtester/src/tests/main/gestures.cpp')
-rw-r--r--hyprtester/src/tests/main/gestures.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/hyprtester/src/tests/main/gestures.cpp b/hyprtester/src/tests/main/gestures.cpp
index 4c56e904..9b31cdb6 100644
--- a/hyprtester/src/tests/main/gestures.cpp
+++ b/hyprtester/src/tests/main/gestures.cpp
@@ -45,11 +45,15 @@ static bool test() {
EXPECT(Tests::windowCount(), 1);
// Give the shell a moment to initialize
- std::this_thread::sleep_for(std::chrono::milliseconds(100));
+ std::this_thread::sleep_for(std::chrono::milliseconds(500));
- OK(getFromSocket("/dispatch plugin:test:gesture up,4"));
+ OK(getFromSocket("/dispatch plugin:test:gesture up,5"));
+ OK(getFromSocket("/dispatch plugin:test:gesture down,5"));
+ OK(getFromSocket("/dispatch plugin:test:gesture left,5"));
+ OK(getFromSocket("/dispatch plugin:test:gesture right,5"));
+ OK(getFromSocket("/dispatch plugin:test:gesture right,4"));
- EXPECT(waitForWindowCount(0, "Gesture sent ctrl+d to kitty"), true);
+ EXPECT(waitForWindowCount(0, "Gesture sent paste exit + enter to kitty"), true);
EXPECT(Tests::windowCount(), 0);