[xmonad] doFullFloat keybinding?

1126 mailinglists at elfsechsundzwanzig.de
Wed Jul 11 22:04:01 CEST 2012


On Tue, 10. Jul 16:42, Matthew Hague wrote:
> 
> > Date: Tue, 10 Jul 2012 10:23:23 +0200
> > From: 1126 <mailinglists at elfsechsundzwanzig.de>
> > Subject: [xmonad] doFullFloat keybinding?
> > To: Xmonad Mailinglist <xmonad at haskell.org>
> > Message-ID: <20120710082323.GA17177 at 1126.localdomain>
> > Content-Type: text/plain; charset=us-ascii
> > 
> > When evince is FullFloating I got problems when opening more than one
> > instance of it, like a second paper. It just lets the first one disappear
> > under the freshly opened one.
> 
> The solutions discussed already are probably the way to go for a clean
> approach, but just a remark on this point, as it's a general problem with
> floating windows in xmonad.

Well, actually, the solution discussed and implemented does just what it should. 
I should've given more thought to what actually mattered (being: more than just 
one instance of evince view-/accessible + no xmobar on that ws). ...

> 
> There's a (undocumented, i think) function raiseWindow that you can use to put
> a window in front of all others.  I guess this isn't called by default since
> tiled windows don't need to be raised in front of each other (whereas floats
> do).
> 
> So you can add this to your config to get around it, but maybe it's a hack:
> 
>     raiseFocused :: X ()
>     raiseFocused = do
>         disp <- asks display
>         mw <- gets (W.peek . windowset)
>         maybe (return ()) (io . (raiseWindow disp)) mw
> 
>     myLogHook = ... <+> raiseFocused <+> ...
> 

... but thank you nevertheless :)

> Matt
> 
> _______________________________________________
> xmonad mailing list
> xmonad at haskell.org
> http://www.haskell.org/mailman/listinfo/xmonad



More information about the xmonad mailing list