Commit de8eca21 authored by Alexandre Julliard's avatar Alexandre Julliard

Avoid including X11/Intrinsic.h.

parent 02d81485
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <X11/Intrinsic.h>
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
...@@ -1331,7 +1330,7 @@ static BOOL BITBLT_InternalStretchBlt( X11DRV_PDEVICE *physDevDst, INT xDst, INT ...@@ -1331,7 +1330,7 @@ static BOOL BITBLT_InternalStretchBlt( X11DRV_PDEVICE *physDevDst, INT xDst, INT
/* Xor is much better when we do not have full colormap. */ /* Xor is much better when we do not have full colormap. */
/* Using white^black ensures that we invert at least black */ /* Using white^black ensures that we invert at least black */
/* and white. */ /* and white. */
Pixel xor_pix = (WhitePixel( gdi_display, DefaultScreen(gdi_display) ) ^ unsigned long xor_pix = (WhitePixel( gdi_display, DefaultScreen(gdi_display) ) ^
BlackPixel( gdi_display, DefaultScreen(gdi_display) )); BlackPixel( gdi_display, DefaultScreen(gdi_display) ));
XSetFunction( gdi_display, physDevDst->gc, GXxor ); XSetFunction( gdi_display, physDevDst->gc, GXxor );
XSetForeground( gdi_display, physDevDst->gc, xor_pix); XSetForeground( gdi_display, physDevDst->gc, xor_pix);
......
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
#define PI M_PI #define PI M_PI
#endif #endif
#include <string.h> #include <string.h>
#include <X11/Intrinsic.h>
#include "x11drv.h" #include "x11drv.h"
#include "x11font.h" #include "x11font.h"
...@@ -908,7 +907,7 @@ X11DRV_RoundRect( X11DRV_PDEVICE *physDev, INT left, INT top, INT right, ...@@ -908,7 +907,7 @@ X11DRV_RoundRect( X11DRV_PDEVICE *physDev, INT left, INT top, INT right,
COLORREF COLORREF
X11DRV_SetPixel( X11DRV_PDEVICE *physDev, INT x, INT y, COLORREF color ) X11DRV_SetPixel( X11DRV_PDEVICE *physDev, INT x, INT y, COLORREF color )
{ {
Pixel pixel; unsigned long pixel;
POINT pt; POINT pt;
pt.x = x; pt.x = x;
...@@ -1213,7 +1212,7 @@ X11DRV_PolyPolyline( X11DRV_PDEVICE *physDev, const POINT* pt, const DWORD* coun ...@@ -1213,7 +1212,7 @@ X11DRV_PolyPolyline( X11DRV_PDEVICE *physDev, const POINT* pt, const DWORD* coun
static void X11DRV_InternalFloodFill(XImage *image, X11DRV_PDEVICE *physDev, static void X11DRV_InternalFloodFill(XImage *image, X11DRV_PDEVICE *physDev,
int x, int y, int x, int y,
int xOrg, int yOrg, int xOrg, int yOrg,
Pixel pixel, WORD fillType ) unsigned long pixel, WORD fillType )
{ {
int left, right; int left, right;
......
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