[mutter] constraints: Remove improper frame_rect_to_client_rect for placement



commit c98090c061d326790bb92ab748470fce8e985ba7
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu May 22 16:51:59 2014 -0400

    constraints: Remove improper frame_rect_to_client_rect for placement
    
    Constriants are now in frame rect coordinates.

 src/core/constraints.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/core/constraints.c b/src/core/constraints.c
index e28fcb1..1a054a6 100644
--- a/src/core/constraints.c
+++ b/src/core/constraints.c
@@ -506,8 +506,6 @@ place_window_if_needed(MetaWindow     *window,
         meta_workspace_get_onmonitor_region (cur_workspace,
                                              monitor_info->number);
 
-      meta_window_frame_rect_to_client_rect (window, &placed_rect, &placed_rect);
-
       info->current.x = placed_rect.x;
       info->current.y = placed_rect.y;
 


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