get_pointer_coordinates(int *x, int *y, Display *dpy, AVFormatContext *s1)

{

    Window mrootwindow, childwindow;

    int dummy;



    mrootwindow = DefaultRootWindow(dpy);



    if (XQueryPointer(dpy, mrootwindow, &mrootwindow, &childwindow,

                      x, y, &dummy, &dummy, (unsigned int*)&dummy)) {

    } else {

        av_log(s1, AV_LOG_INFO, "couldn't find mouse pointer\n");

        *x = -1;

        *y = -1;

    }

}

get_pointer_coordinates(int *x, int *y, Display *dpy, AVFormatContext *s1)

{

    Window mrootwindow, childwindow;

    int dummy;



    mrootwindow = DefaultRootWindow(dpy);



    if (XQueryPointer(dpy, mrootwindow, &mrootwindow, &childwindow,

                      x, y, &dummy, &dummy, (unsigned int*)&dummy)) {

    } else {

        av_log(s1, AV_LOG_INFO, "couldn't find mouse pointer\n");

        *x = -1;

        *y = -1;

    }

}

FUNC_0(int *VAR_0, int *VAR_1, Display *VAR_2, AVFormatContext *VAR_3)

{

    Window mrootwindow, childwindow;

    int VAR_4;



    mrootwindow = DefaultRootWindow(VAR_2);



    if (XQueryPointer(VAR_2, mrootwindow, &mrootwindow, &childwindow,

                      VAR_0, VAR_1, &VAR_4, &VAR_4, (unsigned int*)&VAR_4)) {

    } else {

        av_log(VAR_3, AV_LOG_INFO, "couldn't find mouse pointer\n");

        *VAR_0 = -1;

        *VAR_1 = -1;

    }

}

FUNC_0(int *VAR_0, int *VAR_1, Display *VAR_2, AVFormatContext *VAR_3)
{ Window mrootwindow, childwindow; int VAR_4; mrootwindow = DefaultRootWindow(VAR_2); if (XQueryPointer(VAR_2, mrootwindow, &mrootwindow, &childwindow,
VAR_0, VAR_1, &VAR_4, &VAR_4, (unsigned int*)&VAR_4)) { } else { av_log(VAR_3, AV_LOG_INFO, "couldn't find mouse pointer\n"); *VAR_0 = -1; *VAR_1 = -1; } }