https://bugs.winehq.org/show_bug.cgi?id=54172
--- Comment #1 from François Gouget fgouget@codeweavers.com --- I know what causes the different screen dimensions: * If I connect to the display using virt-manager I get the regular 1024x768. * If I connect to the display using virt-viewer I get 1024x737. Coincidentally virt-viewer's menu bar is 768 - 737 == 31 pixels high...
In order to set up the dual monitor configuration I have to do the following: 1. Wait for the X session auto-login. 2. In virt-viewer go to View -> Displays and enable the second display (that checkbox is disabled before step 1). 3. Log out and wait for the X session auto-login again.
If I do step 1 in virt-manager or I only connect after step 1 is complete, the main screen is 1024x768. The second step has to be done in virt-viewer and results in the second screen being 1024x737.
Presumably when setting up debian11 I connected using virt-viewer pretty early which is why the main screen got the 1024x737 resolution, same as the second screen.