Commit 28d80227 authored by Rudolf Polzer's avatar Rudolf Polzer
Browse files

Bring back the clamping, but instead explicitly query the root window size...

Bring back the clamping, but instead explicitly query the root window size before building monitor structs.

The issue was that DisplayWidth()/DisplayHeight() values don't get
updated after XOpenDisplay(); the fix is querying the root window size
instead to update the auth window size.

The clamping is there to handle the (hopefully unlikely) case of a
screen being only partially in the root window (i.e. XRandR vs X11 core
inconsistency); it's no longer harmful once the bug is fixed.
parent c0aab254
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