Opened 4 years ago
Last modified 11 months ago
#897 assigned enhancement
seamless win32 server
Reported by: | Antoine Martin | Owned by: | Antoine Martin |
---|---|---|---|
Priority: | major | Milestone: | 4.0 |
Component: | platforms | Version: | 0.15.x |
Keywords: | win32 shadow seamless | Cc: |
Description
Like it says on the tin.
It occurred to me after fixing xshape (#501) and running virtualbox that we can fairly easily do a seamless mode for win32 by sending the list of window geometries as a list of xshape rectangles.
The more tricky part is going to be the screen size issues.. we should resize the "server" screen to the size of the client, which may not be possible. So maybe we have to resort to some sort of clipping.
Attachments (1)
Change History (4)
comment:1 Changed 4 years ago by
Status: | new → assigned |
---|
comment:5 Changed 2 years ago by
Milestone: | 0.16 → future |
---|
Changing video mode using ChangeDisplaySettingsEx (or even just ChangeDisplaySettings) does work, for example this pywin32 code: rotate monitor.
But we can only set existing modes, not create new ones (similar to the limitations we have with Xdummy), and I cannot see a way to tell win32 to ignore part of the screen... so this isn't going to help much.
comment:6 Changed 11 months ago by
Milestone: | future → 4.0 |
---|
Partial support added in r9697, the window still has decorations which allows us to avoid the issues with screen sizes. A good start.
Changing the resolution on win32 does not look too hard: Resize display resolution using python with cross platform support, Programatically rotate monitor: help on using EnumDisplaySettings, see msdn: ChangeDisplaySettings
EDIT: this is what this looks like at present when connecting with a trunk Linux client to a trunk win32 server started with:
(top left is the transparent window holding the same windows as the bottom right window, which is a virtualbox XP virtual machine)