x11: fix correct monitor capture size when output is scaled

This commit is contained in:
dec05eba
2024-11-08 20:52:08 +01:00
parent 0686b924de
commit 70fced3889
4 changed files with 40 additions and 5 deletions

2
TODO
View File

@@ -185,3 +185,5 @@ Support pipewire audio capture which also allows capturing audio from a single a
Or use pa_stream_set_monitor_stream, which also takes the sink-input as input. However need to track when the sink disconnects to mute and then reconnect again.
Support recording/replay/livestreaming at the same time by allowing commands to be run on an existing gpu screen recorder instance.
Test if `xrandr --output DP-1 --scale 1.5` captures correct size on nvidia.