Re: [dwm] urxvt and show/hide bar

From: Carlos Pita <>
Date: Tue, 11 Nov 2008 03:04:31 -0200

Ok, I reset resizehints to true and change nonselected border to black
(with black root). It seems a saner setup and it's still visually

Btw, I noticed that other terminal emulators, even other variants of
rxvt, don't show this "phantom line" behavior. Anyway, I prefer to
play fair with apps instead of fooling them just for aesthetic


On Tue, Nov 11, 2008 at 2:01 AM, Premysl Hruby <> wrote:
> On (11/11/08 01:01), Carlos Pita wrote:
>> To: dwm mail list <>
>> From: Carlos Pita <>
>> Subject: [dwm] urxvt and show/hide bar
>> Reply-To: dwm mail list <>
>> List-Id: dwm mail list <>
>> Hi all,
>> I usually prefer to keep the bar hidden so I've written a tiny patch
>> in order to show it when a window has the urgent hint.
>> But when I'm working with the urxvt term and the bar appears, the last
>> line in the console is duplicated, a phantom version of it appears
>> below it. If I change the tag or the layout, or hide the bar again,
>> the term is redrawn correctly again.
>> Any ideas?
>> Best regards
>> -Carlos
> Hi,
> Afaik there's no easy solution, as (u)rxvt depends with this on having
> window size be multiple of windows size increments (given by wmhints).
> But this iirc is NOT MUST by ICCCM. This is how this broblem occur, the
> last line is duplicated, because rxvt doesn't redraw it (because it
> think that it have window size given by itself -- which mustn't be true
> in tile mode with resizehints == false).
> -Ph
> --
> Premysl "Anydot" Hruby,
Received on Tue Nov 11 2008 - 05:04:31 UTC

This archive was generated by hypermail 2.2.0 : Tue Nov 11 2008 - 05:12:03 UTC