X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=driver%2Ftest-grab.c;h=03018eb55c5d83d7aacd5ee9e4f698492c511ec7;hb=2762a7d7cf8d83e68b8f635941f6609119d630ae;hp=9b4a91453d67706a3d4644c22f287ee00f643a19;hpb=df7adbee81405e2849728a24b498ad2117784b1f;p=xscreensaver diff --git a/driver/test-grab.c b/driver/test-grab.c index 9b4a9145..03018eb5 100644 --- a/driver/test-grab.c +++ b/driver/test-grab.c @@ -1,5 +1,5 @@ /* test-uid.c --- playing with grabs. - * xscreensaver, Copyright (c) 1999 Jamie Zawinski + * xscreensaver, Copyright (c) 1999, 2004 Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -50,7 +50,7 @@ main (int argc, char **argv) kstatus = XGrabKeyboard (dpy, w, True, GrabModeSync, GrabModeAsync, CurrentTime); - fprintf (stderr, "%s: grabbing keyboard on 0x%x... %s.\n", + fprintf (stderr, "%s: grabbing keyboard on 0x%lx... %s.\n", progname, (unsigned long) w, (kstatus == GrabSuccess ? "GrabSuccess" : kstatus == AlreadyGrabbed ? "AlreadyGrabbed" : @@ -62,7 +62,7 @@ main (int argc, char **argv) mstatus = XGrabPointer (dpy, w, True, ALL_POINTER_EVENTS, GrabModeAsync, GrabModeAsync, None, cursor, CurrentTime); - fprintf (stderr, "%s: grabbing mouse on 0x%x... %s.\n", + fprintf (stderr, "%s: grabbing mouse on 0x%lx... %s.\n", progname, (unsigned long) w, (mstatus == GrabSuccess ? "GrabSuccess" : mstatus == AlreadyGrabbed ? "AlreadyGrabbed" :