patch attached.

Ciao

Dominik ^_^  ^_^

-- 

Dominik Vogt
--- ChangeLog.orig      2010-11-12 08:57:14.000000000 +0100
+++ ChangeLog   2010-11-12 08:57:42.000000000 +0100
@@ -1,3 +1,8 @@
+2010-11-12  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>
+
+       * fvwm/placement.c (__place_get_placement_flags):
+       fix reporting of placement reason with nousposition style
+
 2009-03-17  Mikhael Goikhman  <[email protected]>
 
        * fvwm/externs.h:
--- NEWS.orig   2010-11-12 08:57:20.000000000 +0100
+++ NEWS        2010-11-12 08:58:40.000000000 +0100
@@ -5,6 +5,11 @@
 
 Changes in beta release 2.5.28 (not released yet)
 
+* Bug fixes:
+
+   - Use of the NoUSPosition stlye is now properly reported by
+     "BugOpts ExplainWindowPlacement on".
+
 -------------------------------------------------------------------
 
 Changes in beta release 2.5.27 (23-Feb-2009)
--- fvwm/placement.c.orig       2010-11-12 08:56:58.000000000 +0100
+++ fvwm/placement.c    2010-11-12 08:57:06.000000000 +0100
@@ -390,7 +390,7 @@
                        ret_p->y = (arg->screen_g.y + arg->screen_g.height) -
                                arg->place_fw->g.frame.height;
                }
-       }               
+       }
        /* Don't let the upper left corner be offscreen. */
        if (ret_p->x < arg->screen_g.x)
        {
@@ -1206,7 +1206,7 @@
                }
                else if (reason->pos.reason != PR_POS_USE_PPOS)
                {
-                       reason->pos.reason = PR_POS_USE_USPOS;
+                       reason->pos.reason = PR_POS_IGNORE_USPOS;
                }
        }
        if (mode == PLACE_AGAIN)

Reply via email to