From 49400c08cd1ec977d023cd3fc82f53336eda6df7 Mon Sep 17 00:00:00 2001 From: Sander Dijkhuis Date: Mon, 27 Apr 2009 14:21:39 +0200 Subject: [PATCH] Export window maximize and unmaximize methods http://bugzilla.gnome.org/show_bug.cgi?id=580434 --- src/core/window-private.h | 4 ---- src/include/window.h | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/window-private.h b/src/core/window-private.h index 120770b6a..fe688e9a1 100644 --- a/src/core/window-private.h +++ b/src/core/window-private.h @@ -403,13 +403,9 @@ void meta_window_queue (MetaWindow *window, guint queuebits); void meta_window_minimize (MetaWindow *window); void meta_window_unminimize (MetaWindow *window); -void meta_window_maximize (MetaWindow *window, - MetaMaximizeFlags directions); void meta_window_maximize_internal (MetaWindow *window, MetaMaximizeFlags directions, MetaRectangle *saved_rect); -void meta_window_unmaximize (MetaWindow *window, - MetaMaximizeFlags directions); void meta_window_make_above (MetaWindow *window); void meta_window_unmake_above (MetaWindow *window); void meta_window_shade (MetaWindow *window, diff --git a/src/include/window.h b/src/include/window.h index 564e56094..b09091df5 100644 --- a/src/include/window.h +++ b/src/include/window.h @@ -101,5 +101,9 @@ MetaStackLayer meta_window_get_layer (MetaWindow *window); MetaWindow* meta_window_find_root_ancestor (MetaWindow *window); gboolean meta_window_get_icon_geometry (MetaWindow *window, MetaRectangle *rect); +void meta_window_maximize (MetaWindow *window, + MetaMaximizeFlags directions); +void meta_window_unmaximize (MetaWindow *window, + MetaMaximizeFlags directions); #endif