| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
Prevent `exec`/`exec-once` processes which terminate very early
(before Hyprland declares that it does not want to reap zombies)
from getting stuck as zombie processes.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* exec: Spawn processes as direct children
Spawn processes as children rather than grandchildren.
This way, spawned processes may track Hyprland's state
by watching their parent, either directly or indirectly
(e.g., Linux's `PR_SET_PDEATH_SIG`).
Fixes #11728
* tests/exec: Add the test on process spawning
Add a test that ensures that:
- A spawned process remains a direct child of Hyprland;
- Upon termination, the process does not become a zombie.
|
| |
|
|
| |
Eliminates the need to copy command-line arguments into a std::vector<std::string>, reducing memory usage and improving performance by referencing the original arguments directly.
|
| |
|
|
|
| |
* render: refactor class member vars
* render: fix clang format
|
| |
|
|
|
| |
* Refactor config classes vars
* Fix clang format errors
|
| | |
|
| | |
|
| |
|
|
| |
fixes #9135
|
| | |
|
| |
|
|
|
|
|
|
|
| |
* make functions used in 1 file static
* fix invalid substr param -1
* give default initializer to borderGradier
* move RASSERT from printf to std::print
|
| |
|
|
|
| |
This adds a .clang-tidy file for us.
It's not a strict requirement to be compliant, but I tuned it to be alright.
|
| | |
|
| | |
|
| |
|
|
| |
Fixes a minor spacing issue if git status is not dirty.
Additionally now should be easier to extend it eventually.
|
| | |
|
| |
|
|
| |
log the built against aq version, might be useful when it's mismatched to identify the problem
|
| | |
|
| |
|
|
|
|
|
|
|
| |
* Preserve existing XDG_CURRENT_DESKTOP
* fix
---------
Co-authored-by: vaxerski <vaxry@vaxry.net>
|
| |
|
|
|
|
|
| |
* correctly destroy wayland globals
* properly shutdown and cleanup hyprland
* appease the nitpick gods and some comments
|
| |
|
|
|
|
|
| |
* fix: avoid locking 2 wayland sockets
* format
* fix formatting
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* compositor: implement wayland socket handover
This commit implements the compositor side of the Wayland socket
handover protocol as described in the [KDE Wiki]. The CLI options are
chosen so that they are compatible with Kwin.
[KDE Wiki]: https://invent.kde.org/plasma/kwin/-/wikis/Restarting
* main: verify that --wayland-fd is a valid file descriptor
* main: fail if only one of --socket and --wayland-fd is passed
|
| |
|
|
|
|
| |
Moves the directory containing sockets and logs.
Also restructures lockfiles a bit.
For consumers, check if `$XDG_RUNTIME_DIR/hypr` exists. If so, use it. If not, use the old `/tmp/hypr`.
|
| | |
|
| |
|
|
| |
fixes #4217
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Follow symlink, only file, absolute path for -c
* Create config file only for default paths
* Skip non-file source= glob results
* Check for absolute path on XDG_CONFIG_HOME
As per spec, all non-absolute paths should be ignored.
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
|
| | |
|
| |
|
|
| |
relates to #3558
|
| | |
|
| |
|
| |
Signed-off-by: pdamianik <39028343+pdamianik@users.noreply.github.com>
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
* Fix for issue #2797
* Fix for issue #2797
* Fix for issue #2797
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
(#2690)
* nix: add python3 to devShell
* init: request SCHED_RR scheduling policy
* init: checks if host supports reseting scheduler on fork
* init: make gainRealTime more compatible with other OSes
* init: remove linux-only code
|
| | |
|
| |
|
|
|
| |
* Remove dead code as it is a part of CCompositor::cleanup
* Unify sd_notify logic with Compositor lifetime
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
* Better and more secure argument parsing, and code reformatting
* Changes to resolve PR conversation
* Formatted via clang-format, fixed typos
* More typos
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add systemd support
motivation for this is is proper ordering of related/bound/required
services to Hyprland (e.g. swaybg) that would need to have a compositor
ready.
this could possibly be a build-time option of course.
see also:
example/ files for example of services
Signed-off-by: Paymon MARANDI <darwinskernel@gmail.com>
* nix: add withSystemd flag
Signed-off-by: Paymon MARANDI <darwinskernel@gmail.com>
Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
Co-authored-by: Vaxerski <vaxry@vaxry.net>
|
| |
|
| |
* clang-format stuff and format files
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
* Nix modules: removed GDK_BACKEND env variable
* setting wayland environment variables at startup
setting XDG_BACKEND and _JAVA_AWT_WM_NONREPARENTING in main.cpp
removed these variables from nix modules recommended environemnt
removed XCURSOR_SIZE from nix modules as it is already set
* Making _JAVA_AWT_WM_NONREPARENTING not overwritten
|
| | |
|