summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorMily <128398851+milyth@users.noreply.github.com>2023-07-23 15:51:00 -0300
committerGitHub <noreply@github.com>2023-07-23 20:51:00 +0200
commit9fc5f4c48b20875337b7a1eddd274f191edd504d (patch)
tree5f5800f5256829be4c6cc644343a1f33f20b681a /src/main.cpp
parent50e6f368fffece098bea4f0cd87ce3d555ab2cbd (diff)
init: Request SCHED_RR using CAP_SYS_NICE and add Python to nix dev shell (#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
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 4fcc611f..4d3d6474 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -89,6 +89,7 @@ int main(int argc, char** argv) {
}
std::cout << "Welcome to Hyprland!\n";
+ Init::gainRealTime();
// let's init the compositor.
// it initializes basic Wayland stuff in the constructor.