diff --git a/rdp_client.py b/rdp_client.py index f01384f..0f48161 100755 --- a/rdp_client.py +++ b/rdp_client.py @@ -327,9 +327,17 @@ class RDPClient: # 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]}") - # Return the leftmost monitors (excluding position and primary flag) - selected = [str(m[0]) for m in monitors[:count]] - selected_str = ','.join(selected) + # TEST: Use monitors 0,1 instead of 1,2 + if count == 2: + selected_str = "0,1" + self.logger.info(f"TEST: Forcing selection of monitors 0,1 for testing") + elif count == 3: + selected_str = "0,1,2" + self.logger.info(f"TEST: Using all monitors 0,1,2") + else: + # Return the leftmost monitors (excluding position and primary flag) + selected = [str(m[0]) for m in monitors[:count]] + selected_str = ','.join(selected) self.logger.info(f"Selected {count} monitors: {selected_str}") return selected_str