diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/window.c | 6 |
2 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2003-06-07 Havoc Pennington <hp@pobox.com> + + * src/window.c (meta_window_notify_focus): drop the mouse button + grabs for the focused window; we'll see if this breaks anything. + It should fix #102209 + 2003-05-21 Havoc Pennington <hp@pobox.com> * NEWS: update diff --git a/src/window.c b/src/window.c index d3cf7865..8ee2cc12 100644 --- a/src/window.c +++ b/src/window.c @@ -3974,6 +3974,9 @@ meta_window_notify_focus (MetaWindow *window, /* move into FOCUSED_WINDOW layer */ meta_window_update_layer (window); + + /* Ungrab click to focus button */ + meta_display_ungrab_focus_window_button (window->display, window->xwindow); } } else if (event->type == FocusOut || @@ -4010,6 +4013,9 @@ meta_window_notify_focus (MetaWindow *window, /* move out of FOCUSED_WINDOW layer */ meta_window_update_layer (window); + + /* Re-grab for click to focus */ + meta_display_grab_focus_window_button (window->display, window->xwindow); } } |