[gnome-shell] ShellApp: Fix comment about window-backed apps
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] ShellApp: Fix comment about window-backed apps
- Date: Thu, 11 Aug 2011 14:11:46 +0000 (UTC)
commit 2efcbaf20682c3617e35fdb62b9fcade3a69b7dc
Author: Colin Walters <walters verbum org>
Date: Thu Aug 11 06:34:09 2011 -0400
ShellApp: Fix comment about window-backed apps
https://bugzilla.gnome.org/show_bug.cgi?id=648149
src/shell-app.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/src/shell-app.c b/src/shell-app.c
index 0d20f3a..3acab60 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]