--- metacity-2.10.0/src/window.c.old	2005-03-01 05:29:26.000000000 +0800
+++ metacity-2.10.0/src/window.c	2006-07-27 22:33:46.000000000 +0900
@@ -4008,6 +4008,12 @@ meta_window_client_message (MetaWindow *
   MetaDisplay *display;
 
   display = window->display;
+
+  /* If screen resolution has changed we may had no chance to recalculate
+   * window's features according to new screen dimensions, do it now.
+   * FIXME: find a more appropriate place for this feature update.
+   */
+  recalc_window_features (window);
   
   if (event->xclient.message_type ==
       display->atom_net_close_window)
