From 4d8414acfd639f709eb40ce4a36f16afe321e769 Mon Sep 17 00:00:00 2001 From: Rob Adams Date: Fri, 13 Jun 2003 05:47:51 +0000 Subject: [PATCH] Focus on mouse click in sloppy/mouse to fix keynav. Fix for #115072. 2003-06-12 Rob Adams * src/display.c (event_callback): Focus on mouse click in sloppy/mouse to fix keynav. Fix for #115072. --- ChangeLog | 5 +++++ src/display.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9aab27326..6cd2209e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-06-12 Rob Adams + + * src/display.c (event_callback): Focus on mouse click in + sloppy/mouse to fix keynav. Fix for #115072. + 2003-06-12 Rob Adams * src/Makefile.am: honor --disable-schemas-install. Fix for diff --git a/src/display.c b/src/display.c index 38e3b15da..6be44d4ae 100644 --- a/src/display.c +++ b/src/display.c @@ -1326,7 +1326,8 @@ event_callback (XEvent *event, else { meta_topic (META_DEBUG_FOCUS, - "Not raising/focusing window on click due to mouse/sloppy focus mode\n"); + "Not raising window on click due to mouse/sloppy focus mode\n"); + meta_window_focus (window, event->xbutton.time); } }