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 Aug 8, 2022
1 parent 5c17c83 commit cee5f75
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 cee5f75

Please sign in to comment.