projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b06426
)
add a separator in the client-list-menus above iconic windows
author
Dana Jansens
<danakj@orodu.net>
Sun, 31 Aug 2003 19:56:19 +0000
(19:56 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 31 Aug 2003 19:56:19 +0000
(19:56 +0000)
openbox/client_list_menu.c
patch
|
blob
|
history
diff --git
a/openbox/client_list_menu.c
b/openbox/client_list_menu.c
index
97c40fe
..
65f8ad5
100644
(file)
--- a/
openbox/client_list_menu.c
+++ b/
openbox/client_list_menu.c
@@
-25,6
+25,7
@@
static void desk_menu_update(ObMenuFrame *frame, gpointer data)
DesktopData *d = data;
GList *it;
gint i;
+ gboolean icons = FALSE;
menu_clear_entries(menu);
@@
-36,6
+37,11
@@
static void desk_menu_update(ObMenuFrame *frame, gpointer data)
ObMenuEntry *e;
ObClientIcon *icon;
+ if (!icons && c->iconic) {
+ icons = TRUE;
+ menu_add_separator(menu, -1);
+ }
+
act = action_from_string("activate");
act->data.activate.any.c = c;
acts = g_slist_prepend(NULL, act);