Commit 0cbb0863 authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: Use fallback implementation for screen dimensions in GetDeviceCaps().

parent d0579649
......@@ -162,26 +162,6 @@ static INT X11DRV_GetDeviceCaps( PHYSDEV dev, INT cap )
{
switch(cap)
{
case HORZRES:
{
RECT primary_rect = get_primary_monitor_rect();
return primary_rect.right - primary_rect.left;
}
case VERTRES:
{
RECT primary_rect = get_primary_monitor_rect();
return primary_rect.bottom - primary_rect.top;
}
case DESKTOPHORZRES:
{
RECT virtual_rect = get_virtual_screen_rect();
return virtual_rect.right - virtual_rect.left;
}
case DESKTOPVERTRES:
{
RECT virtual_rect = get_virtual_screen_rect();
return virtual_rect.bottom - virtual_rect.top;
}
case BITSPIXEL:
return screen_bpp;
case SIZEPALETTE:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment