af4947793e
This patch adds support for arbitrary resolution and updating monitor configurations using custom ioctls. This patch doesn't make any restriction for minimal resolution at all as Windows can handle low resolution just fine, moreover the old (XPDM) driver behaves like this too. Based on a patch by Sandy Stutsman <sstutsma@redhat.com> Signed-off-by: Sameeh Jubran <sameeh@daynix.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
16 lines
290 B
C
Executable File
16 lines
290 B
C
Executable File
#ifndef _H_QXL_WINDOWS
|
|
#define _H_QXL_WINDOWS
|
|
|
|
enum {
|
|
QXL_ESCAPE_SET_CUSTOM_DISPLAY = 0x10001,
|
|
QXL_ESCAPE_MONITOR_CONFIG
|
|
};
|
|
|
|
typedef struct QXLEscapeSetCustomDisplay {
|
|
uint32_t xres;
|
|
uint32_t yres;
|
|
uint32_t bpp;
|
|
} QXLEscapeSetCustomDisplay;
|
|
|
|
#endif /* _H_QXL_WINDOWS */
|