mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
make public
2002-10-24 Havoc Pennington <hp@pobox.com> * src/window.c (meta_window_get_icon_geometry): make public * src/screen.c (meta_screen_ensure_tab_popup): put the alt+tab highlight-window indicator on the icon, not the window itself, if the window is minimized.
This commit is contained in:
parent
15a05467bd
commit
9702903343
@ -1,3 +1,11 @@
|
||||
2002-10-24 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* src/window.c (meta_window_get_icon_geometry): make public
|
||||
|
||||
* src/screen.c (meta_screen_ensure_tab_popup): put the alt+tab
|
||||
highlight-window indicator on the icon, not the window itself,
|
||||
if the window is minimized.
|
||||
|
||||
2002-10-24 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* src/display.c (meta_display_get_tab_list): put minimized windows
|
||||
|
@ -1005,7 +1005,10 @@ meta_screen_ensure_tab_popup (MetaScreen *screen,
|
||||
entries[i].key = (MetaTabEntryKey) window->xwindow;
|
||||
entries[i].title = window->title;
|
||||
entries[i].icon = window->icon;
|
||||
|
||||
if (!window->minimized || !meta_window_get_icon_geometry (window, &r))
|
||||
meta_window_get_outer_rect (window, &r);
|
||||
|
||||
entries[i].x = r.x;
|
||||
entries[i].y = r.y;
|
||||
entries[i].width = r.width;
|
||||
|
@ -102,9 +102,6 @@ static void meta_window_hide (MetaWindow *window);
|
||||
|
||||
static GList* meta_window_get_workspaces (MetaWindow *window);
|
||||
|
||||
static gboolean meta_window_get_icon_geometry (MetaWindow *window,
|
||||
MetaRectangle *rect);
|
||||
|
||||
static void meta_window_save_rect (MetaWindow *window);
|
||||
|
||||
static void adjust_for_gravity (MetaWindow *window,
|
||||
@ -4499,7 +4496,7 @@ update_mwm_hints (MetaWindow *window)
|
||||
recalc_window_features (window);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
gboolean
|
||||
meta_window_get_icon_geometry (MetaWindow *window,
|
||||
MetaRectangle *rect)
|
||||
{
|
||||
|
@ -430,4 +430,7 @@ void meta_window_update_resize_grab_op (MetaWindow *window,
|
||||
|
||||
void meta_window_update_layer (MetaWindow *window);
|
||||
|
||||
gboolean meta_window_get_icon_geometry (MetaWindow *window,
|
||||
MetaRectangle *rect);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user