[mutter] window: Make meta_window_tile() semi-public



commit 58068260a594cb359eb133e20f48f9c7e2087ef8
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Jan 19 16:41:16 2011 +0100

    window: Make meta_window_tile() semi-public
    
    The previous tiling state of a grabbed window should be restored
    if the drag operation is cancelled (by hitting the Escape key).
    This might involve to meta_window_tile(), so export the function
    in window-private.h.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=639988

 src/core/window-private.h |    1 +
 src/core/window.c         |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/core/window-private.h b/src/core/window-private.h
index 07f6fd2..dcb070c 100644
--- a/src/core/window-private.h
+++ b/src/core/window-private.h
@@ -438,6 +438,7 @@ void        meta_window_unmanage           (MetaWindow  *window,
 void        meta_window_calc_showing       (MetaWindow  *window);
 void        meta_window_queue              (MetaWindow  *window,
                                             guint queuebits);
+void        meta_window_tile               (MetaWindow        *window);
 void        meta_window_maximize_internal  (MetaWindow        *window,
                                             MetaMaximizeFlags  directions,
                                             MetaRectangle     *saved_rect);
diff --git a/src/core/window.c b/src/core/window.c
index afd721d..ee2f48a 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -3184,7 +3184,7 @@ meta_window_is_fullscreen (MetaWindow *window)
   return window->fullscreen;
 }
 
-static void
+void
 meta_window_tile (MetaWindow *window)
 {
   MetaMaximizeFlags directions;



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