Adding the one line of bloat that would have saved a lot of time for a lot of people

This commit is contained in:
bakkeby 2021-11-25 09:15:27 +01:00
parent a9078fdb4d
commit 40d30e5d1b

3
dwm.c
View File

@ -3495,6 +3495,9 @@ setup(void)
signal(SIGTERM, sigterm); signal(SIGTERM, sigterm);
#endif // RESTARTSIG_PATCH #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 */ /* init screen */
screen = DefaultScreen(dpy); screen = DefaultScreen(dpy);
sw = DisplayWidth(dpy, screen); sw = DisplayWidth(dpy, screen);