[PATCH 2/2] xwin: Remove some undue paranoia about UNDRAWABLE_WINDOW
Adam Jackson
ajax at redhat.com
Mon Oct 11 07:49:57 PDT 2010
mi will throw away rendering to input-only windows.
Signed-off-by: Adam Jackson <ajax at redhat.com>
---
hw/xwin/winfillsp.c | 30 ------------------------------
hw/xwin/wingetsp.c | 4 ----
hw/xwin/winsetsp.c | 4 ----
3 files changed, 0 insertions(+), 38 deletions(-)
diff --git a/hw/xwin/winfillsp.c b/hw/xwin/winfillsp.c
index 00fd77a..80f5315 100644
--- a/hw/xwin/winfillsp.c
+++ b/hw/xwin/winfillsp.c
@@ -824,36 +824,6 @@ winFillSpansNativeGDI (DrawablePtr pDrawable,
SelectClipRgn (pGCPriv->hdc, NULL);
break;
- case UNDRAWABLE_WINDOW:
- /* UNDRAWABLE_WINDOW doesn't appear to get called when running xterm */
- switch (pGC->fillStyle)
- {
- case FillSolid:
- ErrorF ("winFillSpans - UNDRAWABLE_WINDOW - FillSolid - "
- "Unimplemented\n");
- break;
-
- case FillStippled:
- ErrorF ("winFillSpans - UNDRAWABLE_WINDOW - FillStippled - "
- "Unimplemented\n");
- break;
-
- case FillTiled:
- ErrorF ("winFillSpans - UNDRAWABLE_WINDOW - FillTiled - "
- "Unimplemented\n");
- break;
-
- case FillOpaqueStippled:
- ErrorF ("winFillSpans - UNDRAWABLE_WINDOW - OpaqueStippled - "
- "Unimplemented\n");
- break;
-
- default:
- ErrorF ("winFillSpans - UNDRAWABLE_WINDOW - Unknown fillStyle\n");
- break;
- }
- break;
-
default:
ErrorF ("winFillSpans - Unknown drawable type\n");
break;
diff --git a/hw/xwin/wingetsp.c b/hw/xwin/wingetsp.c
index db914c9..8220812 100644
--- a/hw/xwin/wingetsp.c
+++ b/hw/xwin/wingetsp.c
@@ -177,10 +177,6 @@ winGetSpansNativeGDI (DrawablePtr pDrawable,
DeleteDC (hdcMem);
break;
- case UNDRAWABLE_WINDOW:
- FatalError ("winGetSpans - UNDRAWABLE_WINDOW\n");
- break;
-
default:
FatalError ("winGetSpans - Unknown drawable type\n");
break;
diff --git a/hw/xwin/winsetsp.c b/hw/xwin/winsetsp.c
index 6a90781..e5d33be 100644
--- a/hw/xwin/winsetsp.c
+++ b/hw/xwin/winsetsp.c
@@ -171,10 +171,6 @@ winSetSpansNativeGDI (DrawablePtr pDrawable,
SelectClipRgn (pGCPriv->hdc, NULL);
break;
- case UNDRAWABLE_WINDOW:
- FatalError ("\nwinSetSpansNativeGDI - UNDRAWABLE_WINDOW\n\n");
- break;
-
default:
FatalError ("\nwinSetSpansNativeGDI - Unknown drawable type\n\n");
break;
--
1.7.2.3
More information about the xorg-devel
mailing list