summaryrefslogtreecommitdiffhomepage
path: root/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/dwm.c b/dwm.c
index d1e1dbe..70ef5e7 100644
--- a/dwm.c
+++ b/dwm.c
@@ -3495,6 +3495,9 @@ setup(void)
signal(SIGTERM, sigterm);
#endif // RESTARTSIG_PATCH
+ /* the one line of bloat that would have saved a lot of time for a lot of people */
+ putenv("_JAVA_AWT_WM_NONREPARENTING=1");
+
/* init screen */
screen = DefaultScreen(dpy);
sw = DisplayWidth(dpy, screen);