Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support negative rectangle coordinates (#12)
Since i3 4.22 now supports gaps, negative gaps can cause nodes (workspaces, windows, ...) to have negative coordinates which we did not support. However, sometimes i3 reports negative coordinates as `uint32_t`. Because of this the range of possible values for rectangle coordinates are `[INT32_MIN, UINT32_MAX)`. To work around this, we just read an int64_t. Ref: i3/i3#5352 Ref: polybar/polybar#2888
- Loading branch information