[tools] add basic support for the startup notifications standard

Damjan Jovanovic damjan.jov at gmail.com
Sat Jul 21 10:18:46 CDT 2007


Wine can take quite a while to start, especially for a big
application. Currently during this time nothing happens, which leaves
users wondering whether the application is taking long or not working
at all (when they start it from the menus). This patch adds basic
support for the startup notifications standard, so that the cursor
turns to busy and a taskbar entry labelled something like "Starting
<application>..." is created until the application opens a window.

Changelog:
* Added basic support for the startup notifications standard.

Damjan Jovanovic
-------------- next part --------------
diff --git a/tools/wineshelllink b/tools/wineshelllink
index 3cfea28..a58fb18 100755
--- a/tools/wineshelllink
+++ b/tools/wineshelllink
@@ -89,6 +89,7 @@ desktop_entry()
 Name=$linkname
 Exec=env WINEPREFIX="${WINEPREFIX:-$HOME/.wine}" wine "$path" $args
 Type=Application
+StartupWMClass=Wine
 EOF
     [ -z "$descr"   ] || echo "Comment=$descr"
     [ -z "$workdir" ] || echo "Path=$workdir"


More information about the wine-patches mailing list