microsoft / wslg

Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios
MIT License
10.22k stars 305 forks source link

Full Screen #166

Open heeh opened 3 years ago

heeh commented 3 years ago

Thanks for the great work. Is there a way to make the window full screen without any icons?(minimize, full screen, close)

hideyukn88 commented 3 years ago

@heeh , thanks for feedback, I would like to hear more, so you don't want to have any window title, any buttons on title bar (min, max, close), window frame and anything added by window manager? and how do you expect such window to behave ? for example, you expect to switch between normal and full screen mode based on certain keyboard stroke? just like firefox (on Windows) can switch by F11 ?

heeh commented 3 years ago

@hideyukn88 Thanks for your reply.

so you don't want to have any window title, any buttons on title bar (min, max, close), window frame and anything added by window manager?

Exactly.

and how do you expect such window to behave ? for example, you expect to switch between normal and full screen mode based on certain keyboard stroke? just like firefox (on Windows) can switch by F11 ?

Yes. It would be nice if we have something similar to the full screen toggling in i3-wm ( https://i3wm.org/ )

I see that Firefox (on wsl) enters the full screen mode by pressing F11. It is not the case for the other application. For example, PyCharm's distraction free mode does not enter full screen mode (without any icons including min, max, and close).

Lastly, firefox fullscreen transition contains animation delay even if I set to zero in about:config full-screen-api.transition-duration.enter = "0 0" full-screen-api.transition-duration.leave = "0 0"

Thanks.