winex11: Remove obsolete escapes.

This commit is contained in:
Alexandre Julliard 2012-05-03 12:50:52 +02:00
parent 54170fe867
commit 416240b781
2 changed files with 0 additions and 28 deletions

View File

@ -343,20 +343,6 @@ static INT X11DRV_ExtEscape( PHYSDEV dev, INT escape, INT in_count, LPCVOID in_d
{ {
switch(*(const enum x11drv_escape_codes *)in_data) switch(*(const enum x11drv_escape_codes *)in_data)
{ {
case X11DRV_GET_DISPLAY:
if (out_count >= sizeof(Display *))
{
*(Display **)out_data = gdi_display;
return TRUE;
}
break;
case X11DRV_GET_DRAWABLE:
if (out_count >= sizeof(Drawable))
{
*(Drawable *)out_data = physDev->drawable;
return TRUE;
}
break;
case X11DRV_SET_DRAWABLE: case X11DRV_SET_DRAWABLE:
if (in_count >= sizeof(struct x11drv_escape_set_drawable)) if (in_count >= sizeof(struct x11drv_escape_set_drawable))
{ {
@ -437,13 +423,6 @@ static INT X11DRV_ExtEscape( PHYSDEV dev, INT escape, INT in_count, LPCVOID in_d
return TRUE; return TRUE;
} }
break; break;
case X11DRV_GET_FONT:
case X11DRV_GET_DCE:
case X11DRV_SET_DCE:
case X11DRV_GET_GLX_DRAWABLE:
case X11DRV_SYNC_PIXMAP:
FIXME( "%x escape no longer supported\n", *(const enum x11drv_escape_codes *)in_data );
break;
case X11DRV_FLUSH_GL_DRAWABLE: case X11DRV_FLUSH_GL_DRAWABLE:
flush_gl_drawable(physDev); flush_gl_drawable(physDev);
return TRUE; return TRUE;

View File

@ -329,16 +329,9 @@ extern void X11DRV_PALETTE_ComputeColorShifts(ColorShifts *shifts, unsigned long
#define X11DRV_ESCAPE 6789 #define X11DRV_ESCAPE 6789
enum x11drv_escape_codes enum x11drv_escape_codes
{ {
X11DRV_GET_DISPLAY, /* get X11 display for a DC */
X11DRV_GET_DRAWABLE, /* get current drawable for a DC */
X11DRV_GET_FONT, /* get current X font for a DC */
X11DRV_SET_DRAWABLE, /* set current drawable for a DC */ X11DRV_SET_DRAWABLE, /* set current drawable for a DC */
X11DRV_START_EXPOSURES, /* start graphics exposures */ X11DRV_START_EXPOSURES, /* start graphics exposures */
X11DRV_END_EXPOSURES, /* end graphics exposures */ X11DRV_END_EXPOSURES, /* end graphics exposures */
X11DRV_GET_DCE, /* no longer used */
X11DRV_SET_DCE, /* no longer used */
X11DRV_GET_GLX_DRAWABLE, /* get current glx drawable for a DC */
X11DRV_SYNC_PIXMAP, /* sync the dibsection to its pixmap */
X11DRV_FLUSH_GL_DRAWABLE /* flush changes made to the gl drawable */ X11DRV_FLUSH_GL_DRAWABLE /* flush changes made to the gl drawable */
}; };