Skip to content

Commit e0604cd

Browse files
committed
Select mss display
1 parent 3d933f3 commit e0604cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/goofi/nodes/inputs/videostream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def process(self) -> Dict[str, Tuple[Any, Dict[str, Any]]]:
5757
elif capture_mode == "screen":
5858
screen_index = self.params.video_stream.device_index.value
5959

60-
with mss() as sct:
60+
with mss(display=screen_index) as sct:
6161
if screen_index >= len(sct.monitors):
6262
print(f"Screen index {screen_index} is out of range.")
6363

0 commit comments

Comments
 (0)