1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
# Description: Fine tune -position argument
# asclock option "-position -0-0" or -0+0 works better if the
# default geometry (char *def_geom) is set, because now it gets
# displayed at the corner and not outside of it.
# A little inaccuracy is still there because the here hardcoded
# borderwidth =1 can differ from the actual window manager.
# Author: Christoph Fritz <chris_honschu@gmx.de>
# Last-Update: 2009
Index: asclock-xlib-12/asclock.c
===================================================================
--- asclock-xlib-12.orig/asclock.c 2009-08-08 17:56:17.268088121 +0200
+++ asclock-xlib-12/asclock.c 2009-08-08 17:56:32.655968455 +0200
@@ -110,7 +110,7 @@
back_pix = GetColor("white");
fore_pix = GetColor("black");
- XWMGeometry(dpy, screen, Geometry, NULL, (borderwidth =1), &mysizehints,
+ XWMGeometry(dpy, screen, Geometry, "64x64+0+0", (borderwidth =1), &mysizehints,
&mysizehints.x,&mysizehints.y,&mysizehints.width,&mysizehints.height, &i);
mysizehints.width = asclock.attributes.width;
|