Re: [wiki] [sites] [dwm][patch][tilewide] added patch A variant of the standard 'tile' layout. Adds windows to the master area side by side, instead of one on top of the other. || sympodius

From: Storkman <storkman_AT_storkman.xyz>
Date: Sat, 30 Apr 2022 19:16:41 +0200

On Sat, Apr 30, 2022 at 01:14:22PM +0200, git_AT_suckless.org wrote:
> commit ce3501e93bb12912fcee04aeaa4f6f3335f95e27
> Author: sympodius <mail_AT_sympodius.net>
> Date: Sat Apr 30 12:02:24 2022 +0100
>
> [dwm][patch][tilewide] added patch
> A variant of the standard 'tile' layout. Adds windows to the master area side by side, instead of one on top of the other.

Isn't this doing the same thing as the 'columns' patch?
Even looking at the code, it's almost identical, except for these checks:

> ++ if (mx + WIDTH(c) < m->ww)
> ++ mx += WIDTH(c);

...which, I'm guessing is supposed to account for clients that have minimum
width/height set? But then, wouldn't 'mx' just not get updated and you'd get
the next column overlapping the previous one?

--
Storkman
Received on Sat Apr 30 2022 - 19:16:41 CEST

This archive was generated by hypermail 2.3.0 : Sat Apr 30 2022 - 19:24:47 CEST