Currently unity determines active screen based on the mouse position which in xmonad isn't always on the same screen as the active window. Additionally it assumes that unity is always on the primary screen which is ok at the moment, but more general solution would be better.
Proper solution is to check where is the currently active window and if we have either panel or launcher on that window.
Currently unity determines active screen based on the mouse position which in xmonad isn't always on the same screen as the active window. Additionally it assumes that unity is always on the primary screen which is ok at the moment, but more general solution would be better.
Proper solution is to check where is the currently active window and if we have either panel or launcher on that window.