Re: [dwm] some proposed changes

From: Premysl Hruby <dfenze_AT_gmail.com>
Date: Sun, 10 Aug 2008 19:28:55 +0200

On (09/08/08 12:55), yy wrote:
> To: dwm mail list <dwm_AT_suckless.org>
> From: yy <yiyu.jgl_AT_gmail.com>
> Subject: [dwm] some proposed changes
> Reply-To: dwm mail list <dwm_AT_suckless.org>
> List-Id: dwm mail list <dwm.suckless.org>
>
> Attached there is a patch with some changes to dwm.c. It uses
> XLowerWindow and XMoveResizeWindow instead of configure functions in
> restack() and resize() respectively. I suposse there is a good reason
> to use configure here, but since Anselm is on holidays I ask here if
> somebody knows the reason. I'm using it this way and have found no
> problems so far but they could appear with tricky programs. It removes
> some loc and I think the code is a bit more consistent this way.
> The other change is a new click option: ClkTagButton, this way you can
> have buttons in the tags to see previous tags or to see all of them.
> Anyway, the comment in config.def.h should be corrected to explain the
> current behaviour with ClkTagBar. My config.h is attached too, with
> some interesting custom functions.
>
> Greets,
>

Hi,

reason for using XConfigureWindow in restack() is setting border_width
of client (and this is the only reason for not using XMoveResizeWindow
as you propose).

XLowerWindow was used in past, but it makes windows flickering in
monocle layout, as windows are pushed to the bottom of the stack.
Solution currently in use prevent flickering.

-Ph

-- 
Premysl "Anydot" Hruby, http://www.redrum.cz/
Received on Sun Aug 10 2008 - 17:28:55 UTC

This archive was generated by hypermail 2.2.0 : Sun Aug 10 2008 - 17:36:03 UTC