Commit 47671af3 authored by Malte Dronskowski's avatar Malte Dronskowski Committed by Nate Graham
Browse files

Fix typo in latency policy

The lowest latency setting wasn't applied because the internal
implementation contained an excess 'e' in comparison to the setting
exposed to the user

BUG: 453694
(cherry picked from commit d8da0c77)
parent a8477c1c
Pipeline #182803 passed with stage
in 15 minutes and 16 seconds
......@@ -46,7 +46,7 @@ enum XwaylandCrashPolicy {
* This enum type specifies the latency level configured by the user.
*/
enum LatencyPolicy {
LatencyExteremelyLow,
LatencyExtremelyLow,
LatencyLow,
LatencyMedium,
LatencyHigh,
......
......@@ -56,7 +56,7 @@ void RenderLoopPrivate::scheduleRepaint()
std::chrono::nanoseconds renderTime;
switch (options->latencyPolicy()) {
case LatencyExteremelyLow:
case LatencyExtremelyLow:
renderTime = std::chrono::nanoseconds(long(vblankInterval.count() * 0.1));
break;
case LatencyLow:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment