]> git.mdlowis.com Git - proto/labwc.git/commitdiff
s/LAB_ADAPTIVE_SYNC/LABWC_ADAPTIVE_SYNC/
authorJohan Malm <jgm323@gmail.com>
Tue, 30 Mar 2021 21:41:17 +0000 (22:41 +0100)
committerJohan Malm <jgm323@gmail.com>
Tue, 30 Mar 2021 21:41:17 +0000 (22:41 +0100)
Use the the prefix LABWC_ for environment variable to increase
consistency.

src/output.c

index 00e49af7bd1f55a362cad2e5e29590ef6eb13248..8b5342ce21d3b8129b2027920ff19b960b7fb364 100644 (file)
@@ -827,7 +827,7 @@ new_output_notify(struct wl_listener *listener, void *data)
         * TODO: support configuration in run-time
         */
 
-       if (getenv("LAB_ADAPTIVE_SYNC")) {
+       if (getenv("LABWC_ADAPTIVE_SYNC")) {
                info("Set %s adaptive sync to 'true'", wlr_output->name);
                wlr_output_enable_adaptive_sync(wlr_output, true);
        }