x11-fullscreen Windowed and fullscreen toggles for an X11 C program Compiling/running Run the command gcc fullscreen.c -o exec -lX11 && ./exec Dependencies Requires the X11 libraries. sudo apt install libx11-dev will install them, (on Debian based systems).