From 20a1a47e665da336a87caa3036682bd142aa02b8 Mon Sep 17 00:00:00 2001 From: vaxerski Date: Mon, 9 Jan 2023 21:26:19 +0100 Subject: replace java envvar --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3