Introduction:
From: mayoff@austin.eds.com (Rob Mayoff)
Newsgroups: comp.sources.x
Subject: v14i017: tclock -- transparent clock, Part01/01
Message-ID: <19139@exodus.Eng.Sun.COM>
Date: 28 Aug 91 01:31:42 GMT
Approved: argv@sun.com
Submitted-by: mayoff@austin.eds.com (Rob Mayoff)
Posting-number: Volume 14, Issue 17
Archive-name: tclock/part01
+----------+
Moderator's note:
If you don't have the shape extension *built into your server*, then
this program won't work. Just because you may have -lXext doesn't
mean you have the shape extensions. If it doesn't work for you,
this program is just like a simple analog clock (that doesn't resize).
(also be sure to run xmkmf to make a new Makefile from the Imakefile.)
--dan
+----------+
An oft-asked question on comp.windows.x is "how do I make a transparent
window?" The program that follows, "tclock", uses the SHAPE extension
to display an analog clock with a "transparent" face.
About the patch:
Thanks to Chris Sherman and Jean Charles Gregoire for letting me know about
these bugs in tclock 1.0.
The bugs:
1) A call to XrmMergeDatabases was incorrect. It did not fail on my SPARC,
but causes core dumps on other machines.
2) For System V users, the SIGALRM handler now calls signal(3) to keep
itself installed.
3) Apparently, some people have problems with tabs in Imakefiles, so I
converted them to spaces.
rob
|