#! /bin/sh /usr/share/dpatch/dpatch-run
## iconify_on_wm_hint.dpatch by Eduard Bloch <blade@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad icewm-1.2.35.obsolete.0.532423039506288~/src/wmframe.cc icewm-1.2.35.obsolete.0.532423039506288/src/wmframe.cc
--- icewm-1.2.35.obsolete.0.532423039506288~/src/wmframe.cc	2008-01-05 08:34:24.000000000 +0100
+++ icewm-1.2.35.obsolete.0.532423039506288/src/wmframe.cc	2008-03-10 20:39:36.000000000 +0100
@@ -422,6 +422,7 @@
         MSG(("FRAME state = %d", st));
         switch (st) {
         case IconicState:
+            fFrameOptions |= foMinimized;
             setState(WinStateMinimized, WinStateMinimized);
             break;
 
