mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
focus top window after showing desktop, fixes #88080.
2002-08-07 Craig Black <blackc@speakeasy.net> * src/display.c: (meta_display_unshow_desktop): focus top window after showing desktop, fixes #88080.
This commit is contained in:
parent
8a5cce91bf
commit
d299fbd8da
@ -1,3 +1,8 @@
|
||||
2002-08-07 Craig Black <blackc@speakeasy.net>
|
||||
|
||||
* src/display.c: (meta_display_unshow_desktop): focus
|
||||
top window after showing desktop, fixes #88080.
|
||||
|
||||
2002-08-07 Craig Black <blackc@speakeasy.net>
|
||||
|
||||
* src/core.c: (meta_core_show_window_menu): focus window
|
||||
|
@ -2684,6 +2684,8 @@ meta_display_show_desktop (MetaDisplay *display)
|
||||
void
|
||||
meta_display_unshow_desktop (MetaDisplay *display)
|
||||
{
|
||||
GSList *tmp;
|
||||
|
||||
if (!display->showing_desktop)
|
||||
return;
|
||||
|
||||
@ -2692,6 +2694,14 @@ meta_display_unshow_desktop (MetaDisplay *display)
|
||||
queue_windows_showing (display);
|
||||
|
||||
meta_display_update_show_desktop_hint (display);
|
||||
|
||||
tmp = display->screens;
|
||||
while (tmp != NULL)
|
||||
{
|
||||
MetaScreen *screen = tmp->data;
|
||||
meta_screen_focus_top_window (screen, NULL);
|
||||
tmp = tmp->next;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user