Re: [dwm] dwm's future

From: Kurt H Maier <karmaflux_AT_gmail.com>
Date: Sun, 26 Apr 2009 10:43:33 -0500

On Sun, Apr 26, 2009 at 10:01 AM, Mate Nagy <mnagy_AT_port70.net> wrote:
> I strongly believe that the major problem of dwm currently is
> not font handling (8bit ascii bitmap fonts are perfectly fine thank
> you);

Agree 100%. Folks, if you want unicode support, develop a sane,
working implementation. I've never seen one that matches both "sane"
and "working."

> 1. Complete lack of proper xrandr and multi monitor support - this is
> solved in multiple tiling wms, there's no reason other than lack of
> interest or obscure ideology not to do this.

Here's a patch to make DWM work fine on a two-monitor side-by-side setup:

--- dwm.c~ 2009-02-08 06:10:49.000000000 -0600
+++ dwm.c 2009-02-25 18:54:17.000000000 -0600
@@ -1415,7 +1415,7 @@
         c = nexttiled(clients);
         mw = mfact * ww;
         adjustborder(c, n == 1 ? 0 : borderpx);
- resize(c, wx, wy, (n == 1 ? ww : mw) - 2 * c->bw, wh - 2 * c->bw,
resizehints);
+ resize(c, wx, wy, mw - 2 * c->bw, wh - 2 * c->bw, resizehints);

         if(--n == 0)
                 return;

...that's from dwm 5.4.1, using xrandr --output DVI-0 --right-of
DVI-1. Problem solved.

# Kurt H Maier
Received on Sun Apr 26 2009 - 15:43:33 UTC

This archive was generated by hypermail 2.2.0 : Sun Apr 26 2009 - 15:48:04 UTC