Trivial changes in __imlib_Grab...() function prototypes

This commit is contained in:
Kim Woelders 2021-11-20 20:05:15 +01:00
parent 63a0279785
commit 892af451f2
2 changed files with 7 additions and 6 deletions

View File

@ -23,7 +23,7 @@ Tmp_HandleXError(Display * d, XErrorEvent * ev)
void
__imlib_GrabXImageToRGBA(DATA32 * data, int ox, int oy, int ow, int oh,
Display * d, XImage * xim, XImage * mxim, Visual * v,
int depth, int x, int y, int w, int h, char grab)
int depth, int x, int y, int w, int h, int grab)
{
int inx, iny;
const DATA32 *src;
@ -588,11 +588,11 @@ __imlib_GrabXImageToRGBA(DATA32 * data, int ox, int oy, int ow, int oh,
XUngrabServer(d);
}
char
int
__imlib_GrabDrawableToRGBA(DATA32 * data, int ox, int oy, int ow, int oh,
Display * d, Drawable p, Pixmap m, Visual * v,
Colormap cm, int depth, int x, int y,
int w, int h, char *pdomask, char grab)
int w, int h, char *pdomask, int grab)
{
XErrorHandler prev_erh = NULL;
XWindowAttributes xatt, ratt;

View File

@ -3,16 +3,17 @@
#include "common.h"
char __imlib_GrabDrawableToRGBA(DATA32 * data, int ox, int oy,
int __imlib_GrabDrawableToRGBA(DATA32 * data, int ox, int oy,
int ow, int oh, Display * d,
Drawable p, Pixmap m, Visual * v,
Colormap cm, int depth, int x,
int y, int w, int h,
char *domask, char grab);
char *domask, int grab);
void __imlib_GrabXImageToRGBA(DATA32 * data, int ox, int oy,
int ow, int oh, Display * d,
XImage * xim, XImage * mxim,
Visual * v, int depth, int x,
int y, int w, int h, char grab);
int y, int w, int h, int grab);
#endif /* X11_GRAB_H */