From 6a8a8531bad25c148b4c62263d16c0996a21ca6e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 20 Jan 2008 09:52:10 -0500 Subject: check them startupnotify-provided wmclass against both parts of a window's wm_class hint, as the spec doth say so. --- openbox/startupnotify.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'openbox/startupnotify.h') diff --git a/openbox/startupnotify.h b/openbox/startupnotify.h index 7c28faba..d6f29724 100644 --- a/openbox/startupnotify.h +++ b/openbox/startupnotify.h @@ -27,8 +27,11 @@ void sn_shutdown(gboolean reconfig); gboolean sn_app_starting(); -/*! Notify that an app has started */ -Time sn_app_started(const gchar *id, const gchar *wmclass); +/*! Notify that an app has started + @param wmclass the WM_CLASS[1] hint + @param name the WM_CLASS[0] hint + */ +Time sn_app_started(const gchar *id, const gchar *wmclass, const gchar *name); /*! Get the desktop requested via the startup-notiication protocol if one was requested */ -- cgit v1.2.3