Issue 591 in xmonad: XMonad "fights" with toolkits when focusing a window with a child modal dialog

Status: New Owner: ---- New issue 591 by MathStuf@gmail.com: XMonad "fights" with toolkits when focusing a window with a child modal dialog https://code.google.com/p/xmonad/issues/detail?id=591 When a window has a modal dialog, trying to select the parent window causes the toolkit to then focus the modal dialog, but this puts XMonad's data structures out-of-sync with reality. Here it shows up as the focus (as indicated by the border) rapidly flipping back and forth between the two windows. Focusing any window other than the parent window fixes it. I can think of a few solutions: - skip giving focus to windows with a modal child; or - focus the modal child instead (if on the same workspace? monitor? visible?). I prefer the second with "if visible", but maybe this could be an option to the configuration. The problem with implementing anything right now comes in trying to track modal child/parent relationships. X.U.WindowState is useful here, but there's no place to intercept all calls to XMonad.Operations.focus to change the behavior. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings
participants (1)
-
codesite-noreply@google.com