From 239744b959307362df4c52e2e16373603d5ef106 Mon Sep 17 00:00:00 2001 From: Olivier Fourdan <fourdan.olivier@wanadoo.fr> Date: Mon, 9 Feb 2004 06:50:19 +0000 Subject: [PATCH] Make sure we grab buttons when passing focus (Old svn revision: 11568) --- src/client.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/client.c b/src/client.c index 2d8180ecb..b4af9ffb3 100644 --- a/src/client.c +++ b/src/client.c @@ -3835,6 +3835,10 @@ clientPassFocus (Client * c) { clientPassGrabButton1 (new_focus); } + else if (last_ungrab == c) + { + clientPassGrabButton1 (NULL); + } } static inline void -- GitLab