Skip to content

Commit

Permalink
Windowshade: explicitly set input focus
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ThomasAdam committed Jun 17, 2022
1 parent c7b41a0 commit b098acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fvwm/windowshade.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ void CMD_WindowShade(F_CMD_ARGS)
FlushAllMessageQueues();
XFlush(dpy);
EWMH_SetWMState(fw, False);

SetFocusWindow(fw, True, FOCUS_SET_FORCE);
return;
}

Expand Down

0 comments on commit b098acb

Please sign in to comment.