Re: [dev] [dwm] x11 corner case bug

From: Anselm R Garbe <garbeam_AT_gmail.com>
Date: Mon, 24 Oct 2011 22:28:48 +0200

On 10 October 2011 20:53, Connor Lane Smith <cls_AT_lubutu.com> wrote:
> On 10/10/2011, Matthew Phillips <mattp_AT_cpan.org> wrote:
>> I stumbled on an odd dwm X11 bug yesterday. Resize any window (a terminal
>> works) to 4-5 times the width of your screens resolution, and at some point
>> the floating superwide window will appear on all workspaces, but becomes
>> unselectable.
>
> I think the offending code is line 1600 in dwm.c. Instead of unmapping
> hidden windows, dwm simply moves them two screen widths to the right.
> Presumably here it reaches some kind of limit and X refuses to allow
> its right edge to be so far to the right, so it gets stuck and covers
> the tags on which it is meant to be hidden.

Unmapping proved to be a bit slower, which is why I used the window
moving trick. I guess the best is to move the windows into negative x
land to have a proper fix.

Cheers,
Anselm
Received on Mon Oct 24 2011 - 22:28:48 CEST

This archive was generated by hypermail 2.3.0 : Mon Oct 24 2011 - 22:36:03 CEST