Test: Force monitors 0,2 (primary+middle) for 2-monitor mode

This commit is contained in:
root
2025-09-18 11:24:53 +02:00
parent b16ec65781
commit 62262c9c19

View File

@@ -327,10 +327,10 @@ class RDPClient:
# For debugging, log the monitor layout # For debugging, log the monitor layout
self.logger.info(f"Monitor layout detected: {[(m[0], m[1], 'primary' if m[2] else 'secondary') for m in monitors]}") self.logger.info(f"Monitor layout detected: {[(m[0], m[1], 'primary' if m[2] else 'secondary') for m in monitors]}")
# TEST: Use monitors 0,1 instead of 1,2 # TEST: Use monitors 0,2 instead of 1,2
if count == 2: if count == 2:
selected_str = "0,1" selected_str = "0,2"
self.logger.info(f"TEST: Forcing selection of monitors 0,1 for testing") self.logger.info(f"TEST: Forcing selection of monitors 0,2 for testing")
elif count == 3: elif count == 3:
selected_str = "0,1,2" selected_str = "0,1,2"
self.logger.info(f"TEST: Using all monitors 0,1,2") self.logger.info(f"TEST: Using all monitors 0,1,2")