|
1 /* |
|
2 * Copyright (c) 1988-91 by Patrick J. Naughton. |
|
3 * |
|
4 * Permission to use, copy, modify, and distribute this software and its |
|
5 * documentation for any purpose and without fee is hereby granted, |
|
6 * provided that the above copyright notice appear in all copies and that |
|
7 * both that copyright notice and this permission notice appear in |
|
8 * supporting documentation. |
|
9 * |
|
10 * This file is provided AS IS with no warranties of any kind. The author |
|
11 * shall have no liability with respect to the infringement of copyrights, |
|
12 * trade secrets or any patents by this file or any part thereof. In no |
|
13 * event will the author be liable for any lost revenue or profits or |
|
14 * other special, indirect and consequential damages. |
|
15 */ |
|
16 |
|
17 /* |
|
18 * Copyright 1994 Sun Microsystems, Inc. All rights reserved. |
|
19 * Use is subject to license terms. |
|
20 * |
|
21 * Permission is hereby granted, free of charge, to any person obtaining a |
|
22 * copy of this software and associated documentation files (the |
|
23 * "Software"), to deal in the Software without restriction, including |
|
24 * without limitation the rights to use, copy, modify, merge, publish, |
|
25 * distribute, and/or sell copies of the Software, and to permit persons |
|
26 * to whom the Software is furnished to do so, provided that the above |
|
27 * copyright notice(s) and this permission notice appear in all copies of |
|
28 * the Software and that both the above copyright notice(s) and this |
|
29 * permission notice appear in supporting documentation. |
|
30 * |
|
31 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
|
32 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
|
33 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT |
|
34 * OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR |
|
35 * HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL |
|
36 * INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING |
|
37 * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, |
|
38 * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION |
|
39 * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
|
40 * |
|
41 * Except as contained in this notice, the name of a copyright holder |
|
42 * shall not be used in advertising or otherwise to promote the sale, use |
|
43 * or other dealings in this Software without prior written authorization |
|
44 * of the copyright holder. |
|
45 */ |
|
46 |
|
47 #ifndef lint |
|
48 static char sccsid[] = "@(#)blank.c 35.3 08/09/18 XLOCK"; |
|
49 #endif |
|
50 /*- |
|
51 * blank.c - blank screen for xlock, the X Window System lockscreen. |
|
52 * |
|
53 * Copyright (c) 1991 by Patrick J. Naughton. |
|
54 * |
|
55 * See xlock.c for copying information. |
|
56 * |
|
57 * Revision History: |
|
58 * 31-Aug-90: Written. |
|
59 */ |
|
60 |
|
61 #include "xlock.h" |
|
62 |
|
63 /*ARGSUSED*/ |
|
64 void |
|
65 drawblank(win) |
|
66 Window win; |
|
67 { |
|
68 } |
|
69 |
|
70 void |
|
71 initblank(win) |
|
72 Window win; |
|
73 { |
|
74 XClearWindow(dsp, win); |
|
75 } |