Skip to content
Commit 999fd82b authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Ignore dpms status in Display::outputsIntersecting()

Display::outputsIntersecting() is used to compute the list of outputs
where the given surface is. The problem is that it accounts for the dpms
mode.

This means that if an output is turned off, clients will receive a leave
event and they may potentially decide to change the buffer scale and
commit new buffers.

The dpms check was introduced to fix a crash, however since then, output
bits in kwin have changed drastically, in particular how wl_output
objects are destroyed. So, it should be safe to remove the dpms check.
parent 9735031e
Pipeline #72192 passed with stage
in 5 minutes and 13 seconds
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