summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2005-10-03 17:11:49 +0000
committerElijah Newren <newren@src.gnome.org>2005-10-03 17:11:49 +0000
commitfcba59e685fb2fa3da35407f096da9eb37716908 (patch)
treea05f94c290cc79cace9db9ee3bd0883bdd1aaecc
parent662da0ec3ca3c596b672a30e01ff6129c5a0bdca (diff)
downloadmetacity-fcba59e685fb2fa3da35407f096da9eb37716908.tar.gz
Get the tabbing window outline to work with gtk+ 2.8.4 again. Fixes
2005-10-03 Elijah Newren <newren@gmail.com> Get the tabbing window outline to work with gtk+ 2.8.4 again. Fixes #317528. * src/tabpopup.c (display_entry): gtk+ 2.8.4 needs to know the mapped state of its windows (see bug 316180), and since we manually map with gdk_window_show_unraised() we need to manually set the mapped state too
-rw-r--r--ChangeLog10
-rw-r--r--src/tabpopup.c5
2 files changed, 14 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 339e7f0a..1bd13cf2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2005-10-03 Elijah Newren <newren@gmail.com>
+
+ Get the tabbing window outline to work with gtk+ 2.8.4 again.
+ Fixes #317528.
+
+ * src/tabpopup.c (display_entry): gtk+ 2.8.4 needs to know the
+ mapped state of its windows (see bug 316180), and since we
+ manually map with gdk_window_show_unraised() we need to manually
+ set the mapped state too
+
2005-09-05 Elijah Newren <newren@gmail.com>
* configure.in: post-release version bump to 2.12.1
diff --git a/src/tabpopup.c b/src/tabpopup.c
index fd880f87..6d2660df 100644
--- a/src/tabpopup.c
+++ b/src/tabpopup.c
@@ -485,8 +485,11 @@ display_entry (MetaTabPopup *popup,
gdk_region_destroy (region);
/* This should piss off gtk a bit, but we don't want to raise
- * above the tab popup
+ * above the tab popup. So, instead of calling gtk_widget_show,
+ * we manually set the window as mapped and then manually map it
+ * with gdk functions.
*/
+ GTK_WIDGET_SET_FLAGS (popup->outline_window, GTK_MAPPED);
gdk_window_show_unraised (popup->outline_window->window);
}