3
0
mirror of https://github.com/hyprwm/Hyprland.git synced 2026-08-18 11:02:10 +00:00
Commit Graph

12 Commits

Author SHA1 Message Date
229bca7b1a build: link Glaze to the compositor core (#15454)
Co-authored-by: Pppp1116 <ACCOUNT1_NOREPLY>
2026-07-17 11:42:56 +02:00
10a34c4c2b start: re-show display lock died screen on restart after crash (#15334)
* fix: display lock died screen on restart after crash

* refactor to expose events in SessionLockManager and listen from Compositor

* update Hyprland CLI help output

* add clearSessionLock() and fix allow_session_lock_restore

* implement --locked CLI flag

* exec lockscreen directly without lua

* separate --locked into --locked-cmd and --locked

* fix clang-format problems
2026-07-11 16:43:04 +02:00
515b883da6 internal: replace O_CLOEXEC with FD_CLOEXEC for file descriptor flags (#14909)
* refactor: replace O_CLOEXEC with FD_CLOEXEC for file descriptor flags

* chore: remove local clangd config from PR

---------

Co-authored-by: Pppp1116 <pcaiadoguerreiro@gmail.com>
2026-05-31 21:17:35 +01:00
18ca56b841 core: fix a few fd leaks (#14870)
* core: fix a few fd leaks

ref #14839

* core: fix a few fd leaks

ref #14839
2026-05-30 08:26:54 +01:00
3af9b10890 internal: silence compiler warnings about unused return values (#13997)
* misc: silence warnings about ignoring return value on reads

silence warnings on ignored return values on read() and print an error
if it occurs.

* misc: silence warnings about ignoring return value on writes

silence warnings on ignored return values on write() and print an error
where we can, or pass them the maybe_unused attribute.

* misc: silence warnings about ignoring return value on pipe

silence warnings on ignored return value on pipe(), print an error and
exit on failure.
2026-04-05 14:45:27 +01:00
30c498acf4 build: add glaze dependency with FetchContent fallback (#13666) 2026-03-16 00:53:28 +02:00
f624449c12 start: add --force-nixgl and check /run/opengl-driver (#13385) 2026-02-27 17:57:04 +00:00
8368566044 start: use nixGL if Hyprland is nix but not NixOS (#12845)
---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2026-01-08 10:57:56 +01:00
f1652b2951 start: add parent-death handling for BSDs (#12863)
* Add parent-death handling for BSDs

prctl() is a system call specific to Linux. So we cannot use it on BSDs.

FreeBSD has a system call procctl() which is similar to prctl(). We can
use it with PROC_PDEATHSIG_CTL.

OpenBSD, NetBSD, and DragonFly BSD do not appear to have a similar
mechanism. So intead of relying on a system call, we need to manually
poll ppid to see if the parent process has died.

With the changes, the spawned Hyprland process is terminated when the
launcher process exits, matching Linux behavior as closely as possible
on BSD platforms.

* Remove ppid polling on OpenBSD, NetBSD, and DragonFly BSD
2026-01-06 14:38:25 +01:00
2525052779 start: avoid crash in dtor after forceQuit 2025-12-24 20:27:00 +01:00
ca99e8228c internal/start: More careful signal handling (#12573)
- Take out signal set up into a subroutine;

- Use `sigaction` instead of `signal` for consistent behavior across UNIX platforms;

- Enable a warning when a signal handler set up fails;

- Don't do anything to SIGKILL, since it cannot be handled.
2025-12-07 17:53:24 +00:00
016eb7a23d start: init start-hyprland and safe mode (#12484) 2025-12-05 15:40:03 +00:00