mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
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
This commit is contained in:

committed by
Elijah Newren

parent
662da0ec3c
commit
fcba59e685
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user