[hackers] dwm: new tip (= 738)

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Thu, 08 Feb 2007 11:20:02 +0100

changeset: 738:2ae946319c7b
tag: tip
user: Anselm R. Garbe <arg_AT_suckless.org>
date: Thu Feb 08 11:11:15 2007 +0100
files: config.mk
description:
next version is 3.5

changeset: 737:f05da68014bd
user: Anselm R. Garbe <arg_AT_suckless.org>
date: Thu Feb 08 11:08:40 2007 +0100
files: main.c
description:
making the bar appear at bottom

diff -r 65e3bea2b1f7 -r 2ae946319c7b config.mk
--- a/config.mk Wed Feb 07 12:42:35 2007 +0100
+++ b/config.mk Thu Feb 08 11:11:15 2007 +0100
@@ -1,5 +1,5 @@
 # dwm version
-VERSION = 3.4
+VERSION = 3.5
 
 # Customize below to fit your system
 
diff -r 65e3bea2b1f7 -r 2ae946319c7b main.c
--- a/main.c Wed Feb 07 12:42:35 2007 +0100
+++ b/main.c Thu Feb 08 11:11:15 2007 +0100
@@ -141,7 +141,7 @@ setup(void) {
         wa.override_redirect = 1;
         wa.background_pixmap = ParentRelative;
         wa.event_mask = ButtonPressMask | ExposureMask;
- barwin = XCreateWindow(dpy, root, sx, sy, sw, bh, 0, DefaultDepth(dpy, screen),
+ barwin = XCreateWindow(dpy, root, sx, sy + sh - bh, sw, bh, 0, DefaultDepth(dpy, screen),
                         CopyFromParent, DefaultVisual(dpy, screen),
                         CWOverrideRedirect | CWBackPixmap | CWEventMask, &wa);
         XDefineCursor(dpy, barwin, cursor[CurNormal]);
@@ -149,7 +149,7 @@ setup(void) {
         strcpy(stext, "dwm-"VERSION);
         /* windowarea */
         wax = sx;
- way = sy + bh;
+ way = sy;
         wah = sh - bh;
         waw = sw;
         /* pixmap for everything */
Received on Thu Feb 08 2007 - 11:20:03 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:54:59 UTC