diff options
author | vaxerski <[email protected]> | 2023-01-09 21:26:19 +0100 |
---|---|---|
committer | vaxerski <[email protected]> | 2023-01-09 21:26:19 +0100 |
commit | 20a1a47e665da336a87caa3036682bd142aa02b8 (patch) | |
tree | f3af8acfb68a2b97ade1939552c795b7b2ee3430 | |
parent | 989ee6473fa3aa8fc050dece6f3019729d417176 (diff) | |
download | Hyprland-20a1a47e665da336a87caa3036682bd142aa02b8.tar.gz Hyprland-20a1a47e665da336a87caa3036682bd142aa02b8.zip |
replace java envvar
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 7705f613..bd25b662 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -19,7 +19,7 @@ int main(int argc, char** argv) { cmd += std::string(i == 0 ? "" : " ") + argv[i]; setenv("HYPRLAND_CMD", cmd.c_str(), 1); setenv("XDG_BACKEND", "wayland", 1); - setenv("_JAVA_AWT_WM_NONREPARENTING", "1", 0); + setenv("_JAVA_AWT_WM_NONREPARENTING", "1", 1); // parse some args std::string configPath; |