
On Mon, Sep 10, 2007 at 03:55:30AM +0200, Karsten Schoelzel wrote:
Mon Sep 10 03:27:38 CEST 2007 Karsten Schoelzel
* Fix float behaviour, add shiftWin. First, if float is called with window which is on a hidden workspace, then the window will remain on that hidden workspace.
Now the focus should change more as expected: float w = (view current) . (shiftWin ws w) where current is the current screen/workspace shiftWin ws w is: - view the workspace w is on - set focus on w - shift ws - set focus back to window it was on that workspace unless w was focused
shiftWin was add to StackSet.hs
New amended version of the patch attached. The attached patch should work as described now. Also removes a workaround in Main.hs for the old buggy float. And adds QC tests for shiftWin^1^2 Regards, Karsten *1: bad thing: shiftWin had a bug *2: good thing: i could find it although i don't have 2 screens, which are necessary to trigger the bug