29 June 2025

You can thank me later but first go to Help → Edit custom VM Options.. and add:

# custom IntelliJ IDEA VM options (expand/override 'bin/idea64.vmoptions')
-Dawt.toolkit.name=WLToolkit
Before
Figure 1. Before; showing ugly WSL window decoration
After
Figure 2. After; looks like Idea running natively under Windows

The issue on the Jetbrains issue-tracker is this.