[mutter] window-x11: Fix a copy/paste error



commit c9c6645284b54195508e76939ee51ada1dd846d5
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu May 1 19:09:36 2014 -0400

    window-x11: Fix a copy/paste error
    
    We need to use the explicitly passed-in gravity here, rather
    than the window's existing gravity.

 src/x11/window-x11.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/x11/window-x11.c b/src/x11/window-x11.c
index c011f01..846fd1c 100644
--- a/src/x11/window-x11.c
+++ b/src/x11/window-x11.c
@@ -2089,7 +2089,7 @@ meta_window_move_resize_request (MetaWindow *window,
 
       adjust_for_gravity (window,
                           TRUE,
-                          window->size_hints.win_gravity,
+                          gravity,
                           &rect);
 
       meta_window_move_resize_internal (window,


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