mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-23 06:43:07 +00:00
xext: xv: use stdbool's 'bool' instead of 'Bool' for local variables
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
58f140059b
commit
4df12ef3d8
2 changed files with 10 additions and 8 deletions
|
|
@ -23,8 +23,9 @@ SOFTWARE.
|
|||
|
||||
#include <dix-config.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#include <X11/X.h>
|
||||
#include <X11/Xproto.h>
|
||||
#include <X11/extensions/Xv.h>
|
||||
|
|
@ -1055,8 +1056,8 @@ XineramaXvShmPutImage(ClientPtr client)
|
|||
{
|
||||
REQUEST(xvShmPutImageReq);
|
||||
PanoramiXRes *draw, *gc, *port;
|
||||
Bool send_event;
|
||||
Bool isRoot;
|
||||
bool send_event;
|
||||
bool isRoot;
|
||||
int result, x, y;
|
||||
|
||||
send_event = stuff->send_event;
|
||||
|
|
@ -1109,7 +1110,7 @@ XineramaXvPutImage(ClientPtr client)
|
|||
{
|
||||
REQUEST(xvPutImageReq);
|
||||
PanoramiXRes *draw, *gc, *port;
|
||||
Bool isRoot;
|
||||
bool isRoot;
|
||||
int result, x, y;
|
||||
|
||||
result = dixLookupResourceByClass((void **) &draw, stuff->drawable,
|
||||
|
|
@ -1156,7 +1157,7 @@ XineramaXvPutVideo(ClientPtr client)
|
|||
{
|
||||
REQUEST(xvPutImageReq);
|
||||
PanoramiXRes *draw, *gc, *port;
|
||||
Bool isRoot;
|
||||
bool isRoot;
|
||||
int result, x, y;
|
||||
|
||||
result = dixLookupResourceByClass((void **) &draw, stuff->drawable,
|
||||
|
|
@ -1203,7 +1204,7 @@ XineramaXvPutStill(ClientPtr client)
|
|||
{
|
||||
REQUEST(xvPutImageReq);
|
||||
PanoramiXRes *draw, *gc, *port;
|
||||
Bool isRoot;
|
||||
bool isRoot;
|
||||
int result, x, y;
|
||||
|
||||
result = dixLookupResourceByClass((void **) &draw, stuff->drawable,
|
||||
|
|
@ -1316,7 +1317,7 @@ XineramifyXv(void)
|
|||
SetResourceTypeErrorValue(XvXRTPort, _XvBadPort);
|
||||
|
||||
for (i = 0; i < xvsp0->nAdaptors; i++) {
|
||||
Bool isOverlay;
|
||||
bool isOverlay;
|
||||
XvAdaptorPtr refAdapt = xvsp0->pAdaptors + i;
|
||||
|
||||
if (!(refAdapt->type & XvInputMask))
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
|
||||
#include <dix-config.h>
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <string.h>
|
||||
#include <X11/X.h>
|
||||
#include <X11/Xfuncproto.h>
|
||||
|
|
@ -358,7 +359,7 @@ ProcXvMCCreateSubpicture(ClientPtr client)
|
|||
X_REQUEST_FIELD_CARD16(width);
|
||||
X_REQUEST_FIELD_CARD16(height);
|
||||
|
||||
Bool image_supported = FALSE;
|
||||
bool image_supported = FALSE;
|
||||
CARD32 *data = NULL;
|
||||
int result, dwords = 0;
|
||||
XvMCContextPtr pContext;
|
||||
|
|
|
|||
Loading…
Reference in a new issue