[PATCH] Support freedesktop startup notifications

Michael Stapelberg michael+urxvt at stapelberg.de
Sat Nov 12 17:37:02 CET 2011


Hi,

attached you can find a patch which implements support for freedesktop startup
notifications [1]. These are used by popular desktop environments such as KDE,
GNOME, Xfce and niche window managers such as awesome, openbox, matchbox, i3
and possibly others.

The purpose of startup notifications is to communicate to the window manager
when the application startup is complete, so that it can display some kind of
progress indicator during startup. Also, X11 windows get the _NET_STARTUP_ID
property so that window managers can correlate the startup event and resulting
windows (allowing to place them on the correct virtual desktop, for example).

The code changes are quite small (25 lines, including ifdefs/includes/newlines)
and support for startup notifications can be disabled using the
--disable-startup-notification compile time flag. Startup notifications work
properly when using urxvt and when using urxvtc/urxvtd.

Please merge this patch for the next release. If you have any questions, do not
hesitate to contact me. Thanks.

Best regards,
Michael

[1] http://www.freedesktop.org/wiki/Software/startup-notification
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Implement-support-for-freedesktop-startup-notificati.patch
Type: application/octet-stream
Size: 4721 bytes
Desc: not available
URL: <http://lists.schmorp.de/pipermail/rxvt-unicode/attachments/20111112/50debc9c/attachment.obj>


More information about the rxvt-unicode mailing list