Give the window its own identity in Linux task bars
AWT names the X11 window class after the thread that first touched the toolkit, so the client shared java-awt-EventDispatchThread with every other Swing app. Set it to ts3j-client instead (the jar's manifest opens the AWT internals this needs), and install a matching .desktop launcher and icon in the user's data directory: without a launcher claiming the class, Plasma falls back to the process's command line and files the window under Java. The window icon is now offered at several sizes instead of 16 px only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -132,6 +132,7 @@
|
||||
<mainClass>com.ts3client.Main</mainClass>
|
||||
<manifestEntries>
|
||||
<Enable-Native-Access>ALL-UNNAMED</Enable-Native-Access>
|
||||
<Add-Opens>java.desktop/sun.awt.X11</Add-Opens>
|
||||
</manifestEntries>
|
||||
</transformer>
|
||||
<!-- Merge overlapping META-INF/services entries (e.g. java.security.Provider)
|
||||
|
||||
Reference in New Issue
Block a user