Re: [dwm] [dmenu] [patch] [2] width/height/offsets

From: Frederik Schiewek <fs_AT_schiewek.net>
Date: Tue, 26 Aug 2008 11:11:46 +0200

On Mon, 25 Aug 2008 21:00:31 +0200
Frederik Schiewek <fs_AT_schiewek.net> wrote:

Stealing pixels from the window is wrong ...
> + x = alignright ? mw - (width ? width : mw) - xoffset : xoffset + border;
> + mw = (width ? width : mw) - (border * (alignright ? 1 : 2));

This is more polite ...
x = alignright ? mw - (width ? width : mw) - xoffset - border : xoffset + border;
mw = width ? width : mw;

-- 
Frederik Schiewek <fs_AT_schiewek.net>
Received on Tue Aug 26 2008 - 09:11:46 UTC

This archive was generated by hypermail 2.2.0 : Tue Aug 26 2008 - 09:24:02 UTC