[xmonad] smartBorders and fullscreen Firefox

Lei Chen linxray at gmail.com
Wed May 7 03:39:25 UTC 2014


Hi,

I have the same problem before. I solve it by floating the window and apply
smartboards to it.
After that, the window i want fullscreen works well.
please  check my xmonad.hs @ http://oopschen.github.io/file/xmonad.hs


2014-05-06 17:36 GMT+08:00 Audun Skaugen <audunskaugen at gmail.com>:

> Hi,
> I remember having the same issue when using xmonad. The reason is that
> smartBorders only activate when a floating window covers the entire screen,
> not when a tiled window covers the screen. I guess it could be modified to
> be effective on both cases.
>
> My (very lacking) workaround was to turn off borders completely and use
> XMonad.Hooks.FadeInactive to distinguish focus instead.
>
> På Sat, 03 May 2014 11:36:08 +0200, skrev Kilian Evang <
> maschinenraum at texttheater.net>:
>
>  Hi all,
>>
>> I'm using Ubuntu 12.04's "Gnome with Xmonad" session, currently with the
>> following config:
>>
>> https://github.com/texttheater/.xmonad/blob/
>> 3e73e43cbfc57d418281c60dc700e494f7812183/xmonad.hs
>>
>> As you can see, I have it set up so that fullscreen windows cover the
>> whole screen, including the Gnome panels
>>
>> For Firefox, this required some extra work because apparently
>> isFullscreen doesn't trigger when Firefox goes fullscreen. Luckily,
>> there is XMonad.Layout.Fullscreen.fullscreenEventHook and
>> XMonad.Layout.Fullscreen.fullscreenFull to handle this.
>>
>> What still doesn't work is for XMonad.Layout.NoBorders to notice when
>> Firefox goes fullscreen. Although I'm using smartBorders, a border
>> around the fullscreen Firefox window is still drawn as long as there is
>> another window on the same workspace.
>>
>> Can I tweak my config so that this border goes away?
>>
>> Also, should the NoBorders module be improved to handle this situation?
>>
>> Cheers,
>> Kilian
>> _______________________________________________
>> xmonad mailing list
>> xmonad at haskell.org
>> http://www.haskell.org/mailman/listinfo/xmonad
>>
>
>
> --
> Audun Skaugen
> _______________________________________________
> xmonad mailing list
> xmonad at haskell.org
> http://www.haskell.org/mailman/listinfo/xmonad
>



-- 
No pain ,No gain!
>From Ray!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20140507/aec28df2/attachment.html>


More information about the xmonad mailing list