
On 2 March 2016 at 18:55, Bogdan Sinitsyn
On Wednesday, March 2, 2016 11:21:07 AM MSK Dave Macias wrote:
Avoidstruts no longer works even if i refresh (mod-shift-space). Now `docksEventHook`(for adding a dock to layout) and `docksStartupHook`(for re-adding all docks when you restore layout) are required. Btw, restoring layout breaks many layout modifiers, b.e. subj, X.L.Minimize, X.L.Fullscreen and some others. The only solution I see is to add something like `docksStartupHook`(btw, that is very bad name because it's not for `startupHook` but for running after `setLayout =<< asks (layoutHook . config)`)
Thanks, Bogdan, that fixes it. I'll post an updated sample config. It was sufficient to add just docksEventHook. Feel free to critique the new sample config.