grab_keyboard_and_mouse (saver_info *si, Window window, Cursor cursor,
int screen_no)
{
- Status mstatus, kstatus;
+ Status mstatus = 0, kstatus = 0;
int i;
int retries = 4;
if (bugp)
fprintf(real_stderr,
"%s: see http://www.jwz.org/xscreensaver/bugs.html\n"
- "\t\tfor bug reporting information.\n\n",
+ "\t\t\tfor bug reporting information.\n\n",
blurb());
# if defined(HAVE_GETCWD)
XA_SCREENSAVER_STATUS,
XA_INTEGER, 32, PropModeReplace,
(unsigned char *) status, size);
+ free (status);
}
&root_x, &root_y, &win_x, &win_y, &mask))
{
if (p->verbose_p)
- fprintf (stderr, "%s: mouse is on screen %d\n",
+ fprintf (stderr, "%s: mouse is on screen %d of %d\n",
blurb(), i, si->nscreens);
return i;
}