summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
authorElijah Newren <newren@math.utah.edu>2004-09-15 16:42:52 +0000
committerElijah Newren <newren@src.gnome.org>2004-09-15 16:42:52 +0000
commit101a097f029f2c6e88106f7ff9d91f52cc9069f7 (patch)
tree5bef6ba5422941bb8a0b4c02c55300919998b871 /src/screen.c
parent5ac6fcad730679e8f3b6fc41b501ef8b53bb06a8 (diff)
downloadmetacity-101a097f029f2c6e88106f7ff9d91f52cc9069f7.tar.gz
Prevent focus inconsistencies by only providing one focus method (fixes
2004-09-15 Elijah Newren <newren@math.utah.edu> Prevent focus inconsistencies by only providing one focus method (fixes #151990) * src/screen.c (meta_screen_show_desktop): remove call to meta_workspace_focus_top_window (it was merely focusing a window that was going to be hidden anyway, and likely the one that already had focus) * src/workspace.[hc]: remove meta_workspace_focus_mru_window and meta_workspace_focus_top_window from workspace.h, make them static functions in workspace.c
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/screen.c b/src/screen.c
index 1f19641f..695c335b 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -2239,8 +2239,6 @@ meta_screen_show_desktop (MetaScreen *screen)
queue_windows_showing (screen);
update_showing_desktop_hint (screen);
-
- meta_workspace_focus_top_window (screen->active_workspace, NULL);
}
void