Skip to content

Commit

Permalink
Revert "KeepRaised: be kinder to iconified windows"
Browse files Browse the repository at this point in the history
This reverts commit bd76409.
  • Loading branch information
ThomasAdam committed Sep 27, 2023
1 parent 018bd06 commit 3e79f1a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions fvwm/events.c
Original file line number Diff line number Diff line change
Expand Up @@ -3138,12 +3138,14 @@ void HandleMapRequestKeepRaised(
XRaiseWindow(dpy, KeepRaised);
}
/* If it's not merely iconified, and we have hints, use them. */
if (IS_ICONIFIED(fw))
DeIconify(fw);
else if (IS_MAPPED(fw)) {

if (IS_MAPPED(fw))
{
/* the window is already mapped - fake a MapNotify event */
fake_map_unmap_notify(fw, MapNotify);
} else {
}
else
{
int state;

if (fw->wmhints && (fw->wmhints->flags & StateHint))
Expand Down

0 comments on commit 3e79f1a

Please sign in to comment.