ArticleslgStudy

science

Windowing system

Windowing system is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Windowing system rather than just read about it. In short: In computing, a windowing system (or window system) is a software suite that manages separately different parts of display screens. It is a type of graphical user interface (GUI) which implements the WIMP (windows, icons, menus, pointer) paradigm for a user interface.

Windowing system — main illustration
Windowing system — illustration

Key takeaways

  • Windowing system belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Windowing system to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Windowing system from memory before moving on to harder problems.

Reference excerpt

In computing, a windowing system (or window system) is a software suite that manages separately different parts of display screens. It is a type of graphical user interface (GUI) which implements the WIMP (windows, icons, menus, pointer) paradigm for a user interface. Each currently running application is assigned a usually resizable and usually rectangular surface of the display to present its GUI to the user; these windows may overlap each other, as opposed to a tiling interface where they are not allowed to overlap. Usually a window decoration is drawn around each window. The programming of both the window decoration and of available widgets inside of the window, which are graphical elements for direct user interaction, such as sliders, buttons, etc., is eased and simplified through the use of widget toolkits.

Technical details The main component of any windowing system is usually called the display server, although alternative terms such as window server are also in use. Any application that runs and presents its GUI in a window, is a client of the display server. The display server and its clients communicate with each other over an application programming interface (API) or a communications protocol, which is usually called display server protocol, the display server being the mediator between the clients and the user. It receives all the input from the kernel, that the kernel receives from all attached input devices, such as keyboard, pointing devices, or touchscreen and transmits it to the correct client. The display server is also responsible for the output of the clients to the computer monitor. The output of sound is usually not managed by the display server, but the sound volume is usually handled through GUI applets and it is the display server who decides which applications are on top. A windowing system enables the computer user to work with several programs at the same time. Each program presents its GUI in its own window, which is generally a rectangular area of the screen. From a programmer's point of view, a windowing system implements graphical primitives. For example: rendering fonts or drawing a line on the screen. It provides an abstraction of the graphics hardware for use by higher-level elements of the graphical interface such as a window manager. A display server protocol can be network capable or even network transparent, facilitating the implementation of thin clients.

Display server

A display server or window server is a program whose primary task is to coordinate the input and output of its clients to and from the rest of the operating system, the hardware, and each other. The display server communicates with its clients over the display server protocol, a communications protocol, which can be network-transparent or simply network-capable. The display server is a key component in any graphical user interface, specifically the windowing system. The server/client relationship of a standalone display server is somewhat counterintuitive in that a "server" is usually thought of as a large, remote machine, whereas a standalone "display server" is a small local system, with most clients being executed on a larger central machine. The explanation is that a display server provides the services of a display and input devices.

Display server communications protocols

X11

The X Window System was first released in 1984 and is historically the main windowing system for Unix and Unix-like operating systems. The core protocol has been at version 11 since 1987, hence it commonly being known as "X11". The current reference implementation of the X11 protocol is the X.Org Server, which provides the display server and some ancillary components. The X Window System does not define a look and feel; instead, users run a window manager (either standalone or part of a broader desktop environment) and applications designed using a widget toolkit. The X.Org repository includes a reference window manager, twm; a reference implementation of a widget toolkit, X Athena Widgets; and some basic applications, such as a calculator and clock. Other notable examples of display servers implementing the X11 display server protocol are XFree86 (from which the current X.Org Server was forked), XQuartz (for macOS) and Cygwin/X (for Microsoft Windows).

Wayland

Display servers that implement the Wayland protocol are called Wayland compositors, communicating with clients over the Wayland protocol. Wayland was created as the intended successor to X11, and differs from X11's design significantly. A Wayland compositor combines the functions of a display server, window manager, and compositing manager into one component, whereas in X11 they are separate pieces of software. The scope of the Wayland protocol is far smaller than X11's core protocol, defining only how clients write data into buffers called "surfaces", and it does not function as a network protocol. All other functionality is delegated to extension protocols (developed upstream in the wayland-protocols repository), the Direct Rendering Manager and evdev components of the Linux kernel, the Mesa 3D graphics library, widget toolkits (such as GTK, Qt, and EFL), the XDG Desktop Portal system, and various other software packages such as libinput and PipeWire. Wayland has seen adoption by several open source desktop environments, including GNOME and KDE Plasma which are porting from X11, and environments like COSMIC which were written from scratch as Wayland-native environments. Several standalone compositors such as Weston, Sway, Hyprland, Wayfire, niri, labwc are also available. Wayland has also seen adoption by several embedded and mobile-focused systems, including Tizen, Sailfish OS, and WebOS. The reference implementation of Wayland is available under the MIT License, consisting of the libwayland-client and libwayland-server libraries. There is an ongoing effort to add Wayland support to ChromeOS.

Mir

The Mir display server comes with its own Mir display server protocol which is different from those used by X11 and Wayland. Mir additionally supports the X11 protocol. It was developed by Canonical and was intended to be the display server of choice for Ubuntu. As of 2017, it has been replaced with the Wayland display server for desktop editions of Ubuntu. There are implementations of the Mir display server, the libmir-server and the libmir-client libraries available under the GPLv3.

Windowing systems with APIs

… excerpt ends here. Continue reading the full article.

Illustrations

Windowing system: Typical elements of a window. The window decoration is either drawn by the window manager or by the client. The drawing of the content is the task of the client.
Typical elements of a window. The window decoration is either drawn by the window manager or by the client. The drawing of the content is the task of the client.
Windowing system: The basic components of a GUI: The display server implements the windowing system. A simple window manager merely draws the window decorations, but compositing window managers do more.
The basic components of a GUI: The display server implements the windowing system. A simple window manager merely draws the window decorations, but compositing window managers do more.
Windowing system: The X.Org Server communicates with X clients (local or remote) and peripherals over the X11 protocol.
The X.Org Server communicates with X clients (local or remote) and peripherals over the X11 protocol.
Windowing system: The Wayland display server protocol
The Wayland display server protocol

Worked examples

Example 1 — a first encounter with Windowing system

Start with the simplest possible case. Write down what Windowing system claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Windowing system before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Windowing system ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Windowing system

In research
Windowing system appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Windowing system in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Windowing system is common in secondary-school and first-year university syllabi. It links to neighbouring topics Windowing systems, so understanding it makes those chapters shorter.
In everyday life
Look for Windowing system outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Windowing system” →

How to study Windowing system in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Windowing system means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Windowing system out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Windowing system in simple terms?

In computing, a windowing system (or window system) is a software suite that manages separately different parts of display screens. It is a type of graphical user interface (GUI) which implements the WIMP (windows, icons, menus, pointer) paradigm for a user interface.

Why does Windowing system matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Windowing system?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Windowing system.

Tags

  • Windowing systems

Keep exploring