summaryrefslogtreecommitdiff
path: root/src/meta/window.h
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2011-03-21 12:36:01 +0100
committerFlorian Müllner <fmuellner@gnome.org>2011-03-22 00:55:37 +0100
commitc5d1d2db62e1ed689692187f4e486084f0c69b84 (patch)
tree750fafcdeef67cdf28a72c994b24ee5144c70206 /src/meta/window.h
parentb1725bc18c25b01c2e0079f5d2e9741590d82a18 (diff)
downloadmutter-c5d1d2db62e1ed689692187f4e486084f0c69b84.tar.gz
Add and export meta_window_move_to_monitor
This is useful for DnD to another monitor in gnome-shell. In addition to a normal move it corrects the saved rect for maximized and fullscreened windows. https://bugzilla.gnome.org/show_bug.cgi?id=645032
Diffstat (limited to 'src/meta/window.h')
-rw-r--r--src/meta/window.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/meta/window.h b/src/meta/window.h
index af5602c21..a1c4b75b8 100644
--- a/src/meta/window.h
+++ b/src/meta/window.h
@@ -95,6 +95,7 @@ gboolean meta_window_showing_on_its_workspace (MetaWindow *window);
void meta_window_move(MetaWindow *window, gboolean user_op, int root_x_nw, int root_y_nw);
void meta_window_move_frame(MetaWindow *window, gboolean user_op, int root_x_nw, int root_y_nw);
+void meta_window_move_to_monitor (MetaWindow *window, int monitor);
void meta_window_resize(MetaWindow *window, gboolean user_op, int w, int h);
void meta_window_set_demands_attention (MetaWindow *window);