Skip to content
Commit 47b67a88 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

x11: Properly detect whether swap events have to disabled

qEnvironmentVariableIntValue() will return 0 if the specified variable
is not set.

This means that swap events will be disabled on AMD GPUs unless the env
var is set explicitly to 1.

(cherry picked from commit cf2486d6)
parent c9a87b4c
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