One of the most interesting things about Wayland is how it handles window focus, unlike X11, where focus stealing can be frustrating and even a security risk. Its main advantage is a mechanism that prevents focus stealing. The protocol that plays a role in this is known as XDG Activation. This works by having an app request a unique token from the compositor. The compositor can create this token in response to user input. The new application then presents the token to get focus, which is gran

Read the full article at Neowin