diff src/EmacsManager.c @ 3381:374186f156d5

[xemacs-hg @ 2006-05-06 17:55:58 by stephent] metacity maximization fix, see src/ChangeLog. <87ejz7t57b.fsf_-_@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Sat, 06 May 2006 17:56:00 +0000
parents ce8038b28f80
children 383ab474a241
line wrap: on
line diff
--- a/src/EmacsManager.c	Sat May 06 08:46:38 2006 +0000
+++ b/src/EmacsManager.c	Sat May 06 17:56:00 2006 +0000
@@ -241,6 +241,12 @@
   if (height == 0)
     height = w->core.height;
 
+  /* #### AFAICT this gets called in two places.  One is in ChangeManaged(),
+     above.  The other is in EmacsFrameResize().  Perhaps ChangeManaged()
+     should initiate resize requests, but EmacsFrameResize() should not.
+     Unfortunately, I've tried making this conditional on whether we're
+     called from EmacsFrameResize() or not, but that results in an infloop
+     via the callback to x_layout_widgets() in Resize().  Whee! */
   /* do nothing if we're already that size */
   if (w->core.width != width || w->core.height != height)
     {