Commit 74d00aef authored by Rudolf Polzer's avatar Rudolf Polzer
Browse files

Grab on the root/composite window, not the outer window.

This allows deferring the XMapWindow call to after grabs succeeded, so
in case grabbing fails the screen no longer turns temporarily black.
This reduces the danger that someone may think grabbing succeeded then
closes their laptop.

Also, rename grab_window to background_window now that there's no longer
a grab on it.
parent b86d3963
Supports Markdown
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