Created
April 27, 2009 12:24
-
-
Save sander/102465 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 363a209f8dfeab2f1290499d4d1071ec632c6d29 Mon Sep 17 00:00:00 2001 | |
From: Sander Dijkhuis <sander.dijkhuis@gmail.com> | |
Date: Mon, 27 Apr 2009 14:21:39 +0200 | |
Subject: [PATCH] Export window maximize and unmaximize methods | |
--- | |
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 120770b..fe688e9 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 564e560..b09091d 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 | |
-- | |
1.6.0.4 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment