smartBorders and fullscreen Firefox

Hi all, I'm using Ubuntu 12.04's "Gnome with Xmonad" session, currently with the following config: https://github.com/texttheater/.xmonad/blob/3e73e43cbfc57d418281c60dc700e494... 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

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
Hi all,
I'm using Ubuntu 12.04's "Gnome with Xmonad" session, currently with the following config:
https://github.com/texttheater/.xmonad/blob/3e73e43cbfc57d418281c60dc700e494...
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@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
-- Audun Skaugen

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
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@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@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
-- Audun Skaugen _______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
-- No pain ,No gain!
From Ray!
participants (3)
-
Audun Skaugen
-
Kilian Evang
-
Lei Chen