Add the ability to toggle st into fullscreen mode. This is only useful if running st outside of a tiling window manager. With KDE or Gnome, the only option given is to maximize the window, which can still leave many graphical elements visible. For a pure terminal exeprience, fullscreen is the way to go.

Two key bindings are defined: F11 which is typical with other applications and ALT+ENTER which matches default xterm behavior.


This patch is inspired by the gofullscreen() patch included in this build: https://github.com/mcaimi/st However, by using the NETWMSTATETOGGLE flag, as opposed to ADD and REMOVE, this implementation is simpler.