From 15a098bb27c75612fb91aac7344ad47949517fa5 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Wed, 11 Oct 2006 16:46:55 +0200 Subject: adding a coffee mug cursor --- slock.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'slock.c') diff --git a/slock.c b/slock.c index 0c02d96..db3aae0 100644 --- a/slock.c +++ b/slock.c @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@ -52,6 +53,8 @@ main(int argc, char **argv) { DisplayWidth(dpy, screen), DisplayHeight(dpy, screen), 0, DefaultDepth(dpy, screen), CopyFromParent, DefaultVisual(dpy, screen), CWOverrideRedirect | CWBackPixel, &wa); + + XDefineCursor(dpy, w, XCreateFontCursor(dpy, XC_coffee_mug)); XMapRaised(dpy, w); XSync(dpy, False); -- cgit v1.2.3-70-g09d2