From 2efcbaf20682c3617e35fdb62b9fcade3a69b7dc Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 11 Aug 2011 06:34:09 -0400 Subject: [PATCH] ShellApp: Fix comment about window-backed apps https://bugzilla.gnome.org/show_bug.cgi?id=648149 --- src/shell-app.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/shell-app.c b/src/shell-app.c index 0d20f3a80..3acab6013 100644 --- a/src/shell-app.c +++ b/src/shell-app.c @@ -58,7 +58,13 @@ struct _ShellApp ShellAppState state; - GMenuTreeEntry *entry; /* If NULL, this app is backend by exactly one MetaWindow */ + GMenuTreeEntry *entry; /* If NULL, this app is backed by one or more + * MetaWindow. For purposes of app title + * etc., we use the first window added, + * because it's most likely to be what we + * want (e.g. it will be of TYPE_NORMAL from + * the way shell-window-tracker.c works). + */ ShellAppRunningState *running_state;