Skip to content
Commit fdc32d52 authored by Marco Trevisan's avatar Marco Trevisan
Browse files

xrandr-scaling: Support shell direct-rendering inhibitions

When the shell inhibits the direct rendering we were ignoring the requests
if using a scaled monitor, however this won't permit to access the shell
widgets (i.e. overview, alt/tab) while we're using direct rendering.

Fixes this by disabling the monitor scaling only if it was previously set
and by disabling it only if there's no any possible direct-rendering pick.

LP: #1862081
parent 286b3666
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