A window manager is a system software component that controls the placement, size, appearance, focus, and stacking order of application windows in a graphical user interface. In Linux, it manages how windows are opened, moved, resized, minimized, and organized across workspaces. Under X11 it operates as a separate client, while under Wayland these functions are usually integrated into the compositor.