Remove some use of X11 Bool type/values.

This commit is contained in:
Kim Woelders 2013-12-28 12:29:26 +01:00
parent 8612edf52c
commit 8afc7eca2e
3 changed files with 7 additions and 7 deletions

View File

@ -41,7 +41,7 @@ static Window new_init_win_ext = None;
#endif
/* True if we are saving state for a doExit("restart") */
static int restarting = False;
static char restarting = 0;
#if USE_SM
@ -491,7 +491,7 @@ doSMExit(int mode, const char *params)
if (EDebug(EDBUG_TYPE_SESSION))
Eprintf("doSMExit: mode=%d prm=%p\n", mode, params);
restarting = True;
restarting = 1;
SessionSave(1);
@ -563,7 +563,7 @@ doSMExit(int mode, const char *params)
break;
}
restarting = False;
restarting = 0;
SoundPlay(SOUND_EXIT);
EExit(0);
}

View File

@ -1178,7 +1178,7 @@ EWarpPointer(Win win, int x, int y)
EXWarpPointer(win ? win->xwin : None, x, y);
}
Bool
int
EXQueryPointer(Window xwin, int *px, int *py, Window * pchild,
unsigned int *pmask)
{
@ -1202,7 +1202,7 @@ EXQueryPointer(Window xwin, int *px, int *py, Window * pchild,
pmask);
}
Bool
int
EQueryPointer(Win win, int *px, int *py, Window * pchild, unsigned int *pmask)
{
Window xwin;

View File

@ -223,7 +223,7 @@ Pixmap EWindowGetShapePixmap(Win win);
Pixmap EWindowGetShapePixmapInverted(Win win);
void EWarpPointer(Win win, int x, int y);
Bool EQueryPointer(Win win, int *px, int *py,
int EQueryPointer(Win win, int *px, int *py,
Window * pchild, unsigned int *pmask);
unsigned int EAllocColor(Colormap cmap, unsigned int argb);
@ -264,7 +264,7 @@ void EXCopyAreaTiled(Drawable src, Pixmap mask, Drawable dst,
int dx, int dy);
void EXWarpPointer(Window xwin, int x, int y);
Bool EXQueryPointer(Window xwin, int *px, int *py,
int EXQueryPointer(Window xwin, int *px, int *py,
Window * pchild, unsigned int *pmask);
Pixmap EXCreatePixmapCopy(Pixmap src, unsigned int w,