[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[STUMP] [PATCH] Fixed repositioning bug in resize-tree.

From: Ben Spencer
Subject: [STUMP] [PATCH] Fixed repositioning bug in resize-tree.
Date: Sun, 25 Oct 2009 07:58:41 +0000
User-agent: Mutt/1.5.20 (2009-06-14)

After a lengthy debugging session, tracked this down as the source of
a 'The value NIL is not of type STUMPWM::HEAD.' error when messing
about with xrandr.

The issue is that the absolute position of frames was being scaled,
whereas we really only want to scale the position relative to the
head.  For example, I resized my second head (positioned at 1280x0)
from 1024x768 to 1280x800.  The code scaled the position by (1280 /
1024), sending the frame to 1600x0 where stumpwm could no longer tell
which head it was on.  Hope that makes some sense.


Attachment: 0001-Fixed-repositioning-bug-in-resize-tree.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]