When I enter full screen mode with the F11 key, or click the full screen button in Youtube or Netflix, Chrome seems to scale the page to fit the size of the screen, and the page would be cropped to its containing window. However, after toggling the layout with mod + space, it then scales to fit the containing window correctly.
How do I make Chrome's scaling to fit its window instead of the entire screen when first entering full screen mode?
I tried the functions in XMonad.Hooks.EwmhDesktops
and XMonad.Layout.Fullscreen
but still couldn't figure out a way.
I'm using Google Chrome 57.0.2987.98 and xmonad 0.13 on Arch. Thanks!