[xmonad] darcs patch: X.L.Maximize: Make layout forget maximized
window when...
Norbert Zeh
nzeh at cs.dal.ca
Fri Oct 29 18:39:51 EDT 2010
1 patch for repository http://code.haskell.org/XMonadContrib:
Fri Oct 29 19:15:51 ADT 2010 Norbert Zeh <nzeh at cs.dal.ca>
* X.L.Maximize: Make layout forget maximized window when it is closed
The X.L.Maximize layout modifier does not track whether the window it stores as
maximized does still exist. The X server reuses window IDs. As a result, I
was able to reproduce the following behaviour (e.g., by opening and closing
xpdf windows): Create a window, maximize it, close it without restoring it to
its normal state. Open a new window with the same window ID (e.g., an xpdf
window after just closing an xpdf window). The new window will open maximized,
which is not what one would expect. This patch addresses this problem,
removing the ID of the maximized window from the layout when the maximized
window is closed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 48308 bytes
Desc: A darcs patch for your repository!
Url : http://www.haskell.org/pipermail/xmonad/attachments/20101029/ae1f740a/attachment-0001.bin
More information about the xmonad
mailing list