diff options
author | Havoc Pennington <hp@pobox.com> | 2003-01-22 04:54:04 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2003-01-22 04:54:04 +0000 |
commit | 82bd20911c7d578ac88d011cf617447463dcbcce (patch) | |
tree | 222e368526eebcc660c1c1e71bded9242b1e846b /src/workspace.c | |
parent | 95d747269b2010e026d6c87865398e58b603d816 (diff) | |
download | metacity-82bd20911c7d578ac88d011cf617447463dcbcce.tar.gz |
Fix for the "mangles focus window when switching workspaces and using
2003-01-21 Havoc Pennington <hp@pobox.com>
Fix for the "mangles focus window when switching workspaces
and using mouse focus" bug
* src/stack.c (meta_stack_get_default_focus_window_at_point): new
function
* src/screen.c (meta_screen_focus_mouse_window): new function
(meta_screen_focus_default_window): new function
* src/workspace.c (meta_workspace_activate): use the
new meta_screen_focus_default_window()
2003-01-17 Havoc Pennington <hp@pobox.com>
* src/window.c (meta_window_handle_mouse_grab_op_event): fix event
compression code to use GDK algorithm suggested by Owen, should be
more efficient.
Diffstat (limited to 'src/workspace.c')
-rw-r--r-- | src/workspace.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/workspace.c b/src/workspace.c index 40e445da..f6eacc92 100644 --- a/src/workspace.c +++ b/src/workspace.c @@ -216,11 +216,8 @@ meta_workspace_activate (MetaWorkspace *workspace) meta_workspace_queue_calc_showing (old); meta_workspace_queue_calc_showing (workspace); - /* in mouse focus modes, this will probably get undone by an EnterNotify, - * but that's OK - */ - meta_topic (META_DEBUG_FOCUS, "Focusing top window on new workspace\n"); - meta_screen_focus_top_window (workspace->screen, NULL); + meta_topic (META_DEBUG_FOCUS, "Focusing default window on new workspace\n"); + meta_screen_focus_default_window (workspace->screen, NULL); } int |