diff options
-rw-r--r-- | exwm.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/exwm.el b/exwm.el index 7d301ab4bd89..ec49748c2dc8 100644 --- a/exwm.el +++ b/exwm.el @@ -555,7 +555,9 @@ (when (and (buffer-live-p buffer) (= (elt data 0) xcb:icccm:WM_STATE:IconicState)) (with-current-buffer buffer - (bury-buffer))))) + (if exwm--floating-frame + (call-interactively #'exwm-floating-hide) + (bury-buffer)))))) (t (exwm--log "Unhandled: %s(%d)" (x-get-atom-name type exwm-workspace--current) type))))) |