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.
parent
892b8cf6