| Commit message (Collapse) | Author | Files | Lines |
|
Ignore-this: 6b0e413d8c3a58f62088c32a96c57c51
darcs-hash:20130217163356-1499c-49328ff9588901c49e7b84a80ef079d2b7514268.gz
|
|
Ignore-this: 1cac9202784711ce0fc902d14543bab0
darcs-hash:20101023195755-1499c-57c41357d20cbf0d57522ce99bdbfff7b686ed52.gz
|
|
Ignore-this: 9208f5da9f0de95464ea62cb45e8f291
The problem was that certain layouts keep their "world" state in their value,
which was thrown away and forgotten after ReleaseResources during toggle.
In particular, decorated layouts store some X11 handles in them and
allocate/deallocate it as appropriate. If any modification to their state is
ignored, they may try to deallocate already deallocated memory, which results
in a crash somewhere inside Xlib.
This patch makes Transformers reversible so that nothing is ever ignored. As a
side effect, layout transformers now do receive messages and messages for the
base layout do not need the undo/reapply cycle -- we just pass messages to the
current transformed layout and unapply the transformer when needed.
(This, however, doesn't mean that the base layout is not asked to release
resources on a transformer change -- we still need the transformer to release
its resources and there's no way to do this without asking the base layout as
well.)
darcs-hash:20091220004733-c9ff5-34670f3db8ab715d8f334973d6ea2a3e7f3aed7a.gz
|
|
Ignore-this: d097c7dc1746c55e1d4078a7148f9d5a
This makes the config suggestions consistent with the current template.
darcs-hash:20091022041126-1499c-5dd63076fdd71a61276cfc8e648bada81d9cc586.gz
|
|
Ignore-this: 2274fdd689b0576a76d9f3373e9c7159
darcs-hash:20090626025457-1499c-1d7bdb15732bb3d45e853e140f66fe38fc4fcafa.gz
|
|
instances of Transformer, update MultiToggle docs accordingly
darcs-hash:20080331201739-bd4d7-901730282c5a27e589deba161b77c2752f643a0f.gz
|
|
transformer is active
darcs-hash:20080328190903-462cf-1beba98a60b585ea2ef7a74dbcc1e83d75f67c89.gz
|
|
darcs-hash:20080311172046-bd4d7-fb017517eea1d89a4257954e4515af1a63f53a63.gz
|
|
darcs-hash:20080128175313-462cf-69da1283ec40c1d853b0eff783a2d6216ed114ab.gz
|
|
darcs-hash:20080117234550-462cf-6f662a03c8ff21db0951ac2d61b59f1ff89c8ebf.gz
|
|
darcs-hash:20080117234401-462cf-65bb9a13177d58c9d8270e09f1ba2bf06a2ae410.gz
|
|
darcs-hash:20080117234059-462cf-ccbba0b797ee81ac59aa27882ee4bf04af213f15.gz
|
|
to display the current transformed layout rather than just 'MultiToggle'
darcs-hash:20080115193311-bd4d7-a67d3b834513ad0f23b228708dcb765b2c6a4514.gz
|
|
darcs-hash:20071208014846-a5988-6c53b449256d73dc5ab3e1bac2f9f0a93227b078.gz
|
|
darcs-hash:20071118230319-bffde-6c56202afece4ecc55d48d37bde3f80edaff66f7.gz
|
|
darcs-hash:20071106141729-462cf-f1b0e95f8b30109cf2cbf40b54a8aaec5691e6ff.gz
|
|
darcs-hash:20071106005819-462cf-50760b735eaf204c05bd1ddf706e4265cabf3442.gz
|