No description
Find a file
Tom Englund 21325f9385
eventLoop: various eventloopmgr fixes (#13091)
* eventloopmgr: use unordered_map for readableWaiters

use an unordered_map with the raw ptr as key, avoids any risk of
dangling ptrs.

* eventloopmgr: read the timerfd fd

the manpage for timerfd_create and read states this.

timefd_create creates a new timer object, and returns a file descriptor
that can be used to read the number of expirations that have occurred.

The FD becomes readable when the timer expires.

read removes the “readable” state from the FD.

so most likely it has somewhat worked because of the scheduleRecalc()
function.

* eventloopmgr: avoid unneeded std::function copy

move the idle functions instead of copying.

* eventloopmgr: remove event source before calling fn

if fn causes a dispatch/reentry its gonna cause UB inside libwayland
itself, remove the event source before calling the fn() avoids that
entirerly. even if a new dispatch occurs.

* eventloopmgr: check if timer fd is readable

check if timerfd is readable before calling read on it, so we dont end
up blocking on an accident, log an error if its not readable.

* eventloopmgr: revert unordered_map change

my mistake, the address wasnt changing on reallocations of the heap
object. the only issue i was triggering was the reentry path in fn()
2026-01-27 12:11:54 +00:00
.github ci: disable comments for members 2025-12-11 12:40:02 +00:00
assets meson: drop 2025-11-17 08:54:47 +02:00
docs meson: drop 2025-11-17 08:54:47 +02:00
example example/hyprland.desktop: fix path 2025-12-26 14:39:29 +02:00
hyprctl hyprctl: use new hyprpaper ipc format (#12537) 2025-12-04 17:59:47 +00:00
hyprpm hyprpm: fix build step execution 2026-01-24 20:00:56 +00:00
hyprtester desktop/windowRule: allow expression in min_size/max_size (#12977) 2026-01-21 15:56:51 +00:00
nix Nix: re-enable hyprpm 2026-01-20 13:34:25 +02:00
protocols render/cm: various updates, remove old protocols (#12693) 2025-12-27 18:01:46 +01:00
scripts build: replace generateVersion.sh (#12110) 2025-10-23 20:50:32 +01:00
src eventLoop: various eventloopmgr fixes (#13091) 2026-01-27 12:11:54 +00:00
start start: use nixGL if Hyprland is nix but not NixOS (#12845) 2026-01-08 10:57:56 +01:00
subprojects subprojects: bump tracy 2026-01-05 12:57:40 +01:00
systemd desktop: Update Exec command for UWSM Hyprland desktop entry (#12580) 2025-12-07 17:48:14 +00:00
tests/desktop desktop: rewrite reserved area handling + improve tests (#12383) 2025-12-05 14:16:22 +00:00
.clang-format touch up the clang format and format all files 2022-12-20 02:18:47 +00:00
.clang-format-ignore style/ci: apply clang-format and verify it in ci (#4039) 2023-12-06 22:54:56 +00:00
.clang-tidy internal: fix clang-tidy "errors" (#11862) 2025-09-29 13:10:15 +01:00
.gitattributes Initial commit 2022-03-16 20:49:02 +01:00
.gitignore gitignore: add hyprland.desktop generated by cmake 2025-12-27 23:23:32 +02:00
.gitmodules Core: Move to aquamarine (#6608) 2024-07-21 13:09:54 +02:00
CMakeLists.txt cmakelists: add fno-omit-frame-pointer for tracy builds 2026-01-16 16:59:46 +01:00
CODE_OF_CONDUCT.md doc: Add a CoC (#3366) 2023-09-20 19:38:44 +01:00
flake.lock [gha] Nix: update inputs 2026-01-03 21:12:46 +00:00
flake.nix desktop: rewrite reserved area handling + improve tests (#12383) 2025-12-05 14:16:22 +00:00
hyprland.pc.in cmake: fix XKBCOMMON variable typo (#12550) 2025-12-06 00:48:38 +00:00
LICENSE LICENSE: update year 2026-01-11 16:13:52 +01:00
Makefile hyprpm,Makefile: drop cmake ninja build 2026-01-20 13:34:25 +02:00
README.md README: add link to CI from badge (#11085) 2025-07-18 21:13:56 +03:00
SECURITY.md SECURITY: init security policy 2025-04-27 00:07:00 +02:00
VERSION version: bump to 0.53.0 2025-12-29 16:21:36 +01:00

banner

Badge Workflow Badge License Badge Language Badge Pull Requests Badge Issues Badge Hi Mom


Hyprland is a 100% independent, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.

It provides the latest Wayland features, is highly customizable, has all the eyecandy, the most powerful plugins, easy IPC, much more QoL stuff than other compositors and more...



Install

Quick Start

Configure

Contribute



Features

  • All of the eyecandy: gradient borders, blur, animations, shadows and much more
  • A lot of customization
  • 100% independent, no wlroots, no libweston, no kwin, no mutter.
  • Custom bezier curves for the best animations
  • Powerful plugin support
  • Built-in plugin manager
  • Tearing support for better gaming performance
  • Easily expandable and readable codebase
  • Fast and active development
  • Not afraid to provide bleeding-edge features
  • Config reloaded instantly upon saving
  • Fully dynamic workspaces
  • Two built-in layouts and more available as plugins
  • Global keybinds passed to your apps of choice
  • Tiling/pseudotiling/floating/fullscreen windows
  • Special workspaces (scratchpads)
  • Window groups (tabbed mode)
  • Powerful window/monitor/layer rules
  • Socket-based IPC
  • Native IME and Input Panels Support
  • and much more...


Gallery


Preview A


Preview B


Preview C



Special Thanks


wlroots - For powering Hyprland in the past

tinywl - For showing how 2 do stuff

Sway - For showing how 2 do stuff the overkill way

Vivarium - For showing how 2 do stuff the simple way

dwl - For showing how 2 do stuff the hacky way

Wayfire - For showing how 2 do some graphics stuff