mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-20 05:01:51 -04:00
linux-capture: Add X border option to xcomposite
XComposite, which is currently our only capture method for windows, doesn't handle X border width. This works in a lot of cases but anytime there's a border, a bug occurs where the lower right is clipped. This patch has two goals: 1) To position and size the capture texture correctly in accordance to the border. 2) Adds a configuration option to allow people to toggle it (which in most cases will simply do nothing) with a default of not including it.
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f