diff src/frame-x.c @ 4593:3623446b34bc

Set icon resource on frame early enough for openbox to find it.
author Stephen J. Turnbull <stephen@xemacs.org>
date Mon, 02 Feb 2009 23:03:31 +0900
parents 726060ee587c
children 2986723ac32d
line wrap: on
line diff
--- a/src/frame-x.c	Sat Jan 31 17:43:20 2009 +0000
+++ b/src/frame-x.c	Mon Feb 02 23:03:31 2009 +0900
@@ -2160,6 +2160,14 @@
    *   We'll just  need to be careful in the modeline specs.
    */
   update_frame_title (f);
+  /* Henry S. Thompson:
+   * Must set icon resource before mapping frame, or some WMs may
+   * lose the icon (openbox).  See <f5bhc3efb17@hildegard.inf.ed.ac.uk>.
+   * SJT:
+   * This probably means that the frame-icon library won't work with
+   * that WM.
+   */
+  update_frame_icon (f);
 }
 
 static void