From 3e79f1a65e5d30536c31d4363a0adbe071db7b06 Mon Sep 17 00:00:00 2001 From: Thomas Adam Date: Wed, 27 Sep 2023 22:08:29 +0100 Subject: [PATCH] Revert "KeepRaised: be kinder to iconified windows" This reverts commit bd76409bb147a8426b3ea102aac3f7c6277d2619. --- fvwm/events.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/fvwm/events.c b/fvwm/events.c index 101eb27ca..184cff423 100644 --- a/fvwm/events.c +++ b/fvwm/events.c @@ -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))