From 34792fcf8e9c524d3dc936e78742fad5835958b5 Mon Sep 17 00:00:00 2001 From: Joel Winarske Date: Thu, 2 May 2024 14:41:39 -0700 Subject: [PATCH] Revert "simple-shm" This reverts commit 33c45611325f9e4edad46ea818c2b1ae374b3fae. --- examples/simple-shm.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/simple-shm.cc b/examples/simple-shm.cc index ce87c8d..114a287 100644 --- a/examples/simple-shm.cc +++ b/examples/simple-shm.cc @@ -44,7 +44,7 @@ struct Configuration { static volatile bool gRunning = true; -static std::vector gCursors; +static std::vector gCursors = Pointer::get_available_cursors(); /** * @brief Signal handler function to handle signals. @@ -320,8 +320,6 @@ int main(int argc, char **argv) { ("t,tearing", "Enable tearing via the tearing_control protocol"); auto result = options.parse(argc, argv); - gCursors = Pointer::get_available_cursors(); - App app({ .width = result["width"].as(), .height = result["height"].as(),