From b098acb01dd1c6e20b8670a10971abbaea52f6d9 Mon Sep 17 00:00:00 2001 From: Thomas Adam Date: Fri, 17 Jun 2022 12:48:35 +0100 Subject: [PATCH] Windowshade: explicitly set input focus When shading/unshading a window which might still be focused, still tell the window this to avoid only redrawing the window borders without having set the focus first. Fixes #671 --- fvwm/windowshade.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fvwm/windowshade.c b/fvwm/windowshade.c index 8f22db07a..6bcfc3939 100644 --- a/fvwm/windowshade.c +++ b/fvwm/windowshade.c @@ -219,7 +219,7 @@ void CMD_WindowShade(F_CMD_ARGS) FlushAllMessageQueues(); XFlush(dpy); EWMH_SetWMState(fw, False); - + SetFocusWindow(fw, True, FOCUS_SET_FORCE); return; }