summaryrefslogtreecommitdiff
path: root/src/tabpopup.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-09-04 04:15:46 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-09-04 04:15:46 +0000
commitcbb0b8e66cd094b19f005d3559679f5dbfcaafd9 (patch)
tree85fc4715645d276cccf8c3056278f69ffec33bb9 /src/tabpopup.c
parenta6a7407faa0fa30cb62cfc0494c2d905d975412b (diff)
downloadmetacity-cbb0b8e66cd094b19f005d3559679f5dbfcaafd9.tar.gz
metacity-cbb0b8e66cd094b19f005d3559679f5dbfcaafd9.tar.bz2
new function
2002-09-03 Havoc Pennington <hp@pobox.com> * src/display.c (meta_display_get_tab_current): new function * src/keybindings.c (do_choose_window): apply modified patch from JeyaSudha to still display tab popup if only one window is on the desktop.
Diffstat (limited to 'src/tabpopup.c')
-rw-r--r--src/tabpopup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tabpopup.c b/src/tabpopup.c
index 116e42e..30378f1 100644
--- a/src/tabpopup.c
+++ b/src/tabpopup.c
@@ -446,6 +446,10 @@ meta_ui_tab_popup_select (MetaTabPopup *popup,
{
GList *tmp;
+ /* Note, "key" may not be in the list of entries; other code assumes
+ * it's OK to pass in a key that isn't.
+ */
+
tmp = popup->entries;
while (tmp != NULL)
{