diff options
| author | Manolo Gouy <Manolo> | 2016-09-11 07:12:11 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-09-11 07:12:11 +0000 |
| commit | 35a5148ee833deb1bee85ad853ce70c81b30b62e (patch) | |
| tree | 0bacd65060c84d879dd91271f416a25594f847f4 /src/drivers | |
| parent | c5960df5fb4d99098c4ecbc28cc2f90c7f02e9aa (diff) | |
Put the code that defines the layout of struct _XRegion in FL/x.H
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11930 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers')
| -rw-r--r-- | src/drivers/Xlib/Fl_Xlib_Graphics_Driver_image.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_image.cxx b/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_image.cxx index 445c255c8..25ac80298 100644 --- a/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_image.cxx +++ b/src/drivers/Xlib/Fl_Xlib_Graphics_Driver_image.cxx @@ -54,20 +54,6 @@ # include "../../Fl_XColor.H" # include "../../flstring.h" -#if HAVE_X11_XREGION_H -# include <X11/Xregion.h> -#else // if the X11/Xregion.h header is not available, we assume this is the layout of an X11 Region: -typedef struct { - short x1, x2, y1, y2; -} BOX; -struct _XRegion { - long size; - long numRects; - BOX *rects; - BOX extents; -}; -#endif // HAVE_X11_XREGION_H - static XImage xi; // template used to pass info to X static int bytes_per_pixel; static int scanline_add; |
