Skip to content
Commit 48160373 authored by Noah Davis's avatar Noah Davis 🌵
Browse files

Minimize Spectacle while recording if intersecting target

If Spectacle's window geometry reported by QWindow::frameGeometry()
intersects the area we are recording, we minimize Spectacle. The
exception is when recording Spectacle itself.

I couldn't find a foolproof way to deal with window geometry on wayland,
so hopefully this is good enough. The geometry reported by
QWindow::frameGeometry() is not necessarily the same as what is reported
by queryWindowInfo, which comes from KWin's own Window::frameGeometry().


(cherry picked from commit d6635f2a)
parent 6be027cd
Pipeline #359760 canceled with stage
in 51 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