Since resetting my xorg.conf to use a second monitor,
XMonad.Layout.NoBorders.smartBorders no longer works: Even if there is only one window open on either monitor, and no docks, the main window still has a border.
Might anyone have an idea of how to proceed debugging? Such as by dumping the XMonad stackset to stdout? Thank you.
edit: Alternatively, assuming the implementation of smartBorders is incorrect or is having a strange interaction with other layoutHooks or I'm making an error, is there a quick-and-easy way to write a layoutHook which checks the XMonad stackset, checks if
length the_current_stack (windows in the current screen) is 1, and then dynamically switches the layout to fullscreen (and vice versa if a new window is opened)?
noBorders seems to work. Other modules such as the
smartBorder flag in
XMonad.Layout.Spacing.smartBorder have no trouble working in multi-screen mode. There seems to be a section in the code above at the bottom involving an 'Ambiguity' combinator.