libwnck r1597 - in trunk: . libwnck



Author: kamstrup
Date: Mon Mar  3 23:16:38 2008
New Revision: 1597
URL: http://svn.gnome.org/viewvc/libwnck?rev=1597&view=rev

Log:
2008-03-04  Mikkel Kamstrup Erlandsen  <kamstrup cvs gnome org>

       * libwnck/window.c: (wnck_window_set_geometry): fix
       wnck_window_set_geometry() (again). The top frame was not taken
       correctly into account. This was only evident when aligning to a
       top panel or screen edge. Should close bug #518606.


Modified:
   trunk/ChangeLog
   trunk/libwnck/window.c

Modified: trunk/libwnck/window.c
==============================================================================
--- trunk/libwnck/window.c	(original)
+++ trunk/libwnck/window.c	Mon Mar  3 23:16:38 2008
@@ -2302,7 +2302,7 @@
   gravity_and_flags |= source << 12;
   
   x += window->priv->left_frame;
-  y -= window->priv->top_frame;
+  y += window->priv->top_frame;
   width -= window->priv->left_frame + window->priv->right_frame;
   height -= window->priv->top_frame + window->priv->bottom_frame;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]