internal/

directory
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2026 License: MIT, MIT

Directories

Path Synopsis
Package alphamodifier implements wp_alpha_modifier_v1: clients fade a surface by an opacity factor the compositor applies when it draws it.
Package alphamodifier implements wp_alpha_modifier_v1: clients fade a surface by an opacity factor the compositor applies when it draws it.
Package anim is the animation engine: easing curves, springs, tweens that sample them at a monotonic time, and the per-event table the config builds.
Package anim is the animation engine: easing curves, springs, tweens that sample them at a monotonic time, and the per-event table the config builds.
Package backend abstracts outputs and input devices so the compositor runs headless, nested or on DRM.
Package backend abstracts outputs and input devices so the compositor runs headless, nested or on DRM.
drm
Package drm is the native backend: one DRM device driven with atomic KMS, scanning out buffers the Vulkan renderer exports or GBM allocates for GLES.
Package drm is the native backend: one DRM device driven with atomic KMS, scanning out buffers the Vulkan renderer exports or GBM allocates for GLES.
headless
Package headless is a backend with virtual outputs rendered in software and synthetic input devices, for tests and the compositor-in-the-loop harness.
Package headless is a backend with virtual outputs rendered in software and synthetic input devices, for tests and the compositor-in-the-loop harness.
nested
Package nested runs lys-wm as a client of a host Wayland compositor: each output is a host window and the host seat is lys-wm's input.
Package nested runs lys-wm as a client of a host Wayland compositor: each output is a host window and the host seat is lys-wm's input.
virtual
Package virtual is an output that exists only in memory: whatever backend runs the session, it renders offscreen with the session's renderer, paced by its own frame clock at its mode's refresh rate, and never presents.
Package virtual is an output that exists only in memory: whatever backend runs the session, it renders offscreen with the session's renderer, paced by its own frame clock at its mode's refresh rate, and never presents.
Package backgroundeffect implements ext_background_effect_v1: clients name the region of a surface whose background the compositor blurs.
Package backgroundeffect implements ext_background_effect_v1: clients name the region of a surface whose background the compositor blurs.
Package binds maps typed input chords to window manager actions, with submaps and bind flags.
Package binds maps typed input chords to window manager actions, with submaps and bind flags.
Package colormanager implements wp_color_manager_v1: clients learn what each output shows and what each surface would best hold, describe an encoding by parameters or an ICC profile, and tag surfaces with it.
Package colormanager implements wp_color_manager_v1: clients learn what each output shows and what each surface would best hold, describe an encoding by parameters or an ICC profile, and tag surfaces with it.
Package colorrep implements wp_color_representation_manager_v1: a client says how its YCbCr surface encodes colour, which the compositor uses to decode it instead of guessing from the buffer size.
Package colorrep implements wp_color_representation_manager_v1: a client says how its YCbCr surface encodes colour, which the compositor uses to decode it instead of guessing from the buffer size.
Package colorspace is the colour maths of HDR output and colour-managed surfaces: what a pixel encoding means, what an output's encoding is, and the transform from one to the other.
Package colorspace is the colour maths of HDR output and colour-managed surfaces: what a pixel encoding means, what an output's encoding is, and the transform from one to the other.
Package committiming implements wp_commit_timing_manager_v1: a content update can carry a target time, and it waits until the refresh that presents it would not show it before that time.
Package committiming implements wp_commit_timing_manager_v1: a content update can carry a target time, and it waits until the refresh that presents it would not show it before that time.
Package compositor connects backend events to the server and draws each output's frames.
Package compositor connects backend events to the server and draws each output's frames.
Package config reads lys-wm's YAML config into validated types.
Package config reads lys-wm's YAML config into validated types.
Package contenttype implements wp_content_type_manager_v1: a surface says whether it shows a photo, a video or a game, which the compositor uses where it decides presentation per surface.
Package contenttype implements wp_content_type_manager_v1: a surface says whether it shows a photo, a video or a game, which the compositor uses where it decides presentation per surface.
Package ctmcontrol implements hyprland_ctm_control_manager_v1: the first client to bind it sets the colour transform matrix of outputs, as hyprsunset does, and every output it changed returns to the identity when it lets go.
Package ctmcontrol implements hyprland_ctm_control_manager_v1: the first client to bind it sets the colour transform matrix of outputs, as hyprsunset does, and every output it changed returns to the identity when it lets go.
Package data implements the clipboard, the primary selection and drag and drop: wl_data_device_manager and zwp_primary_selection_device_manager_v1.
Package data implements the clipboard, the primary selection and drag and drop: wl_data_device_manager and zwp_primary_selection_device_manager_v1.
Package dmabuf implements zwp_linux_dmabuf_v1: clients share GPU buffers as dmabuf planes, checked against what the renderer can import, and learn the formats, modifiers and device through feedback, which for a surface that could reach a display plane leads with what that plane scans out.
Package dmabuf implements zwp_linux_dmabuf_v1: clients share GPU buffers as dmabuf planes, checked against what the renderer can import, and learn the formats, modifiers and device through feedback, which for a surface that could reach a display plane leads with what that plane scans out.
Package fdmsg sends JSON messages with file descriptors over a SOCK_SEQPACKET Unix socket, one message per packet.
Package fdmsg sends JSON messages with file descriptors over a SOCK_SEQPACKET Unix socket, one message per packet.
Package fifo implements wp_fifo_manager_v1: a content update can set a barrier on its surface when it applies, and a later update can wait for the next latching deadline to clear it, so Vulkan FIFO presentation shows every frame for at least one refresh.
Package fifo implements wp_fifo_manager_v1: a content update can set a barrier on its surface when it applies, and a later update can wait for the next latching deadline to clear it, so Vulkan FIFO presentation shows every frame for at least one refresh.
Package frametrace records what each composited frame cost and when it reached the screen, as JSON lines, for measuring smoothness.
Package frametrace records what each composited frame cost and when it reached the screen, as JSON lines, for measuring smoothness.
Package gammacontrol implements zwlr_gamma_control_manager_v1: one client at a time sets an output's gamma ramps, as night-light tools do, and the output returns to the identity when it lets go.
Package gammacontrol implements zwlr_gamma_control_manager_v1: one client at a time sets an output's gamma ramps, as night-light tools do, and the output returns to the identity when it lets go.
Package golden compares rendered frames with PNG images under testdata.
Package golden compares rendered frames with PNG images under testdata.
Package gpu binds libEGL, libGLESv2 and libgbm through purego: displays on the GBM, device and surfaceless platforms, GLES2 contexts, dmabuf images, native fences and buffer allocation.
Package gpu binds libEGL, libGLESv2 and libgbm through purego: displays on the GBM, device and surfaceless platforms, GLES2 contexts, dmabuf images, native fences and buffer allocation.
Package handover moves a running session's kernel objects and state to the next lys-wm process over a Unix socket.
Package handover moves a running session's kernel objects and state to the next lys-wm process over a Unix socket.
Package harness boots the compositor on the headless backend for integration tests and drives real clients against it.
Package harness boots the compositor on the headless backend for integration tests and drives real clients against it.
Package hyprlandsurface implements hyprland_surface_manager_v1: clients fade a surface by an overall opacity and name the part of its buffer that holds visible content, which the compositor draws alone.
Package hyprlandsurface implements hyprland_surface_manager_v1: clients fade a surface by an overall opacity and name the part of its buffer that holds visible content, which the compositor draws alone.
Package idle implements ext_idle_notifier_v1 and zwp_idle_inhibit_manager_v1: idle timers that input resets, and inhibitors that hold them off while their surface is on screen.
Package idle implements ext_idle_notifier_v1 and zwp_idle_inhibit_manager_v1: idle timers that input resets, and inhibitors that hold them off while their surface is on screen.
Package inputmethod implements zwp_text_input_manager_v3, zwp_text_input_manager_v1 and zwp_input_method_manager_v2: the focused client's enabled text input and the seat's input method relay state, text, preedit and deletions to each other, the input method can grab the keyboard, and its popups follow the text cursor.
Package inputmethod implements zwp_text_input_manager_v3, zwp_text_input_manager_v1 and zwp_input_method_manager_v2: the focused client's enabled text input and the seat's input method relay state, text, preedit and deletions to each other, the input method can grab the keyboard, and its popups follow the text cursor.
Package ipc serves lys-wm's state, actions and events over a Unix socket as JSON lines, for lys-wmctl, bars and scripts.
Package ipc serves lys-wm's state, actions and events over a Unix socket as JSON lines, for lys-wmctl, bars and scripts.
Package loop is the single-threaded event loop that owns compositor state.
Package loop is the single-threaded event loop that owns compositor state.
Package looptest runs a loop.Loop on the test's own goroutine until what the test waits for holds, so the condition reads the loop's state without a lock.
Package looptest runs a loop.Loop on the test's own goroutine until what the test waits for holds, so the condition reads the loop's state without a lock.
Package output advertises backend outputs to clients as wl_output and zxdg_output_v1 objects, with their place in the logical layout and scale.
Package output advertises backend outputs to clients as wl_output and zxdg_output_v1 objects, with their place in the logical layout and scale.
Package outputmanagement implements zwlr_output_manager_v1: display configuration tools such as wlr-randr, kanshi and wdisplays list the outputs with their modes and change them as one configuration.
Package outputmanagement implements zwlr_output_manager_v1: display configuration tools such as wlr-randr, kanshi and wdisplays list the outputs with their modes and change them as one configuration.
Package outputpower implements zwlr_output_power_manager_v1: clients such as idle daemons turn outputs off and on.
Package outputpower implements zwlr_output_power_manager_v1: clients such as idle daemons turn outputs off and on.
Package powerprofile follows power-profiles-daemon's active profile on the system bus, so lys-wm can save power while the user asked for it.
Package powerprofile follows power-profiles-daemon's active profile on the system bus, so lys-wm can save power while the user asked for it.
protocol
Package region is a set of pixels described by disjoint rectangles.
Package region is a set of pixels described by disjoint rectangles.
Package render defines the renderer interface that the software, GLES and Vulkan renderers implement.
Package render defines the renderer interface that the software, GLES and Vulkan renderers implement.
gles
Package gles is the GLES2 renderer: shm textures, premultiplied blending, and passes into framebuffers backed by textures or dmabufs.
Package gles is the GLES2 renderer: shm textures, premultiplied blending, and passes into framebuffers backed by textures or dmabufs.
rendertest
Package rendertest holds the scene and checks every renderer's tests share, so each GPU renderer is held to the software renderer's pixels.
Package rendertest holds the scene and checks every renderer's tests share, so each GPU renderer is held to the software renderer's pixels.
soft
Package soft is the CPU renderer over premultiplied ARGB8888 buffers.
Package soft is the CPU renderer over premultiplied ARGB8888 buffers.
vulkan
Package vulkan renders the compositor's frames with Vulkan through lys-lib's gpu package, the stack lys-ui and lys-shell draw with.
Package vulkan renders the compositor's frames with Vulkan through lys-lib's gpu package, the stack lys-ui and lys-shell draw with.
Package rtkit asks RealtimeKit on the system bus to raise a thread's scheduling priority, for a process that has neither the limit nor the capability to raise it itself.
Package rtkit asks RealtimeKit on the system bus to raise a thread's scheduling priority, for a process that has neither the limit nor the capability to raise it itself.
rtkittest
Package rtkittest serves a fake RealtimeKit on a private bus, for tests of code that asks rtkit for a thread's priority.
Package rtkittest serves a fake RealtimeKit on a private bus, for tests of code that asks rtkit for a thread's priority.
Command scanner generates Wayland protocol bindings from the XML listed in internal/protocol/protocols.json.
Command scanner generates Wayland protocol bindings from the XML listed in internal/protocol/protocols.json.
Package seat implements wl_seat with its keyboard, pointer and touch: keymaps, focus, and delivering input to the focused clients.
Package seat implements wl_seat with its keyboard, pointer and touch: keymaps, focus, and delivering input to the focused clients.
Package securitycontext implements wp_security_context_manager_v1: sandbox engines such as Flatpak register a socket for their apps, and the server tags every client that connects through it, so the compositor can keep privileged globals from them.
Package securitycontext implements wp_security_context_manager_v1: sandbox engines such as Flatpak register a socket for their apps, and the server tags every client that connects through it, so the compositor can keep privileged globals from them.
Package server accepts Wayland clients and runs the core protocol objects.
Package server accepts Wayland clients and runs the core protocol objects.
Package session gives lys-wm its seat: devices through logind, VT switching, and device discovery.
Package session gives lys-wm its seat: devices through logind, VT switching, and device discovery.
Package shader compiles the one language lys-wm's screen shaders are written in, a subset of GLSL ES 1.00, and hands it to each renderer in the form it takes: GLSL for GLES, SPIR-V for Vulkan and a Go program for the CPU.
Package shader compiles the one language lys-wm's screen shaders are written in, a subset of GLSL ES 1.00, and hands it to each renderer in the form it takes: GLSL for GLES, SPIR-V for Vulkan and a Go program for the CPU.
Package shell implements xdg-shell: the window roles clients request and the configure handshake the window manager drives.
Package shell implements xdg-shell: the window roles clients request and the configure handshake the window manager drives.
Package shm implements wl_shm: client memory pools and the buffers carved out of them, read safely even when a client truncates its pool.
Package shm implements wl_shm: client memory pools and the buffers carved out of them, read safely even when a client truncates its pool.
Package singlepixel implements wp_single_pixel_buffer_manager_v1: one-pixel buffers of a solid premultiplied color.
Package singlepixel implements wp_single_pixel_buffer_manager_v1: one-pixel buffers of a solid premultiplied color.
Package spawn starts the processes lys-wm launches from a spawner: a child lys-wm starts before it changes its own limits or scheduling, which keeps what lys-wm started with and hands it to every process it forks.
Package spawn starts the processes lys-wm launches from a spawner: a child lys-wm starts before it changes its own limits or scheduling, which keeps what lys-wm started with and hands it to every process it forks.
Package surface implements wl_compositor, wl_surface, wl_region and wl_subcompositor: double-buffered surface state, subsurface trees and roles.
Package surface implements wl_compositor, wl_surface, wl_region and wl_subcompositor: double-buffered surface state, subsurface trees and roles.
Package syncobj implements wp_linux_drm_syncobj_manager_v1: explicit synchronization through DRM timeline syncobjs.
Package syncobj implements wp_linux_drm_syncobj_manager_v1: explicit synchronization through DRM timeline syncobjs.
Package systemd hands the session's environment to D-Bus activation and the systemd user manager, and runs lys-wm-session.target while lys-wm runs.
Package systemd hands the session's environment to D-Bus activation and the systemd user manager, and runs lys-wm-session.target while lys-wm runs.
Package tabletinput carries drawing tablets and the events of their tools from the input backend to the compositor.
Package tabletinput carries drawing tablets and the events of their tools from the input backend to the compositor.
Package tearingcontrol implements wp_tearing_control_manager_v1: a surface hints that its content may be presented with tearing, which the compositor honours where the user allows it and the surface fills an output.
Package tearingcontrol implements wp_tearing_control_manager_v1: a surface hints that its content may be presented with tearing, which the compositor honours where the user allows it and the surface fills an output.
Package testclient is a scripted Wayland client for integration tests: it maps toplevels, paints shm frames and keeps animating while frame callbacks arrive.
Package testclient is a scripted Wayland client for integration tests: it maps toplevels, paints shm frames and keeps animating while frame callbacks arrive.
Package testenv decides whether tests that need tools or libraries from the dev shell skip or fail when they are missing, and gives tests directories short enough to hold Unix sockets.
Package testenv decides whether tests that need tools or libraries from the dev shell skip or fail when they are missing, and gives tests directories short enough to hold Unix sockets.
Package wire encodes and decodes Wayland protocol messages on a Unix socket.
Package wire encodes and decodes Wayland protocol messages on a Unix socket.
Package wlclient is the client side of a Wayland connection: the object map and dispatch that the generated client bindings run on.
Package wlclient is the client side of a Wayland connection: the object map and dispatch that the generated client bindings run on.
feedback
Package feedback reads zwp_linux_dmabuf_feedback_v1 as a client: the device a compositor renders with and the format and modifier pairs each tranche of devices imports.
Package feedback reads zwp_linux_dmabuf_feedback_v1 as a client: the device a compositor renders with and the format and modifier pairs each tranche of devices imports.
Package wm is the window manager's pure core: the container tree, its layout, workspaces and focus, as values with no Wayland, X11 or rendering types.
Package wm is the window manager's pure core: the container tree, its layout, workspaces and focus, as values with no Wayland, X11 or rendering types.
Package xkb compiles keymaps and tracks modifier and layout state through lys-lib's xkb, and serves keymaps to clients as sealed memfds.
Package xkb compiles keymaps and tracks modifier and layout state through lys-lib's xkb, and serves keymaps to clients as sealed memfds.
Package xsync is the part of the X SYNC extension _NET_WM_SYNC_REQUEST needs: counters and alarms.
Package xsync is the part of the X SYNC extension _NET_WM_SYNC_REQUEST needs: counters and alarms.
Package xwayland runs Xwayland for X11 clients: it holds the X display sockets, starts Xwayland on the first connection, and matches X windows to their wl_surfaces through xwayland_shell_v1.
Package xwayland runs Xwayland for X11 clients: it holds the X display sockets, starts Xwayland on the first connection, and matches X windows to their wl_surfaces through xwayland_shell_v1.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL