summaryrefslogtreecommitdiff
path: root/hyprtester/src/tests/clients/pointer-warp.cpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2025-09-02 13:16:43 +0200
committerGitHub <noreply@github.com>2025-09-02 13:16:43 +0200
commit127aab815908ecbd3db4d23f127d2e96b79855f9 (patch)
tree289ee3e7c9be70c3b45ff91a693b33fe7598502a /hyprtester/src/tests/clients/pointer-warp.cpp
parent78e86d879fa9bf3afeb73b29a3e668d47df5e9ab (diff)
input: add per-device scroll-factor (#11241)
Diffstat (limited to 'hyprtester/src/tests/clients/pointer-warp.cpp')
-rw-r--r--hyprtester/src/tests/clients/pointer-warp.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/hyprtester/src/tests/clients/pointer-warp.cpp b/hyprtester/src/tests/clients/pointer-warp.cpp
index 643da796..f37b94c3 100644
--- a/hyprtester/src/tests/clients/pointer-warp.cpp
+++ b/hyprtester/src/tests/clients/pointer-warp.cpp
@@ -23,7 +23,7 @@ struct SClient {
struct pollfd fds;
};
-static int ret;
+static int ret = 0;
static bool startClient(SClient& client) {
client.proc = makeShared<CProcess>(binaryDir + "/pointer-warp", std::vector<std::string>{});
@@ -174,7 +174,10 @@ static bool test() {
stopClient(client);
- return true;
+ NLog::log("{}Reloading the config", Colors::YELLOW);
+ OK(getFromSocket("/reload"));
+
+ return !ret;
}
REGISTER_CLIENT_TEST_FN(test);