[xmonad] Yet another fullscreen thread...

Thomas Järvstrand tjarvstrand at gmail.com
Fri Jan 22 15:07:48 UTC 2016


Thanks everyone for you replies!

I'm not exactly what you would call well versed in Haskell but with some
clues from above and some googling I think I managed to solve it with the
below change:
- , handleEventHook = ewmhDesktopsEventHook
+ , handleEventHook = ewmhDesktopsEventHook <+> fullscreenEventHook

Thomas

fre 22 jan. 2016 kl 16:03 skrev Bogdan Sinitsyn <bogdan.sinitsyn at gmail.com>:

> On Friday, January 22, 2016 9:22:27 AM MSK you wrote:
> > On Fri, Jan 22, 2016 at 2:05 AM, Bogdan Sinitsyn <
> bogdan.sinitsyn at gmail.com>
> > wrote:
> > > If we remove the border before sending any full-screen message to
> layout,
> > > we
> > > don't need to adjust the position and size because layout will
> calculate
> > > window size after we remove border.
> >
> > We are supposed to guess beforehand that a normal window that gets
> > fullscreened (this is the case that requires the handleEventHook) needs
> its
> > border removed? Or that we should do so after it is removed from the tile
> > but before we receive the message telling us to remove it from the tile
> and
> > fullscreen it?
> >
> > I'm really not sure what window model you are using, but it doesn't seem
> to
> > be X11's.
>
> Event hook for full-screen windows already exists in X.L.Fullscreen. If we
> add
> removing and re-applying borders just before sending messages to layout in
> that hook(X.L.Fullscreen.fullscreenEventHook, it'll work fine.
>
> --
> Bogdan Sinitsyn
> _______________________________________________
> xmonad mailing list
> xmonad at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/xmonad/attachments/20160122/d2c7cdb0/attachment.html>


More information about the xmonad mailing list