Commit d8da0c77 authored by Malte Dronskowski's avatar Malte Dronskowski
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
parent 450d8e28
Pipeline #182738 passed with stage
in 32 minutes and 15 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,
......
......@@ -57,7 +57,7 @@ void RenderLoopPrivate::scheduleRepaint()
std::chrono::nanoseconds renderTime;
switch (q->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