summaryrefslogtreecommitdiff
path: root/src/window.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-06-08 06:07:21 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-06-08 06:07:21 +0000
commit2b780e5486221f5b33017b09de6ae7228252e071 (patch)
tree63c257511726995d29fac9a82bfa46b4dd5b3eca /src/window.h
parent9e8800561e0f8c00a342a8f77289030c0590e1fb (diff)
downloadmetacity-2b780e5486221f5b33017b09de6ae7228252e071.tar.gz
metacity-2b780e5486221f5b33017b09de6ae7228252e071.tar.bz2
short-circuit the "only one xinerama" case, and use outer rect of window
2002-06-08 Havoc Pennington <hp@pobox.com> * src/screen.c (meta_screen_get_xinerama_for_window): short-circuit the "only one xinerama" case, and use outer rect of window instead of window->rect, so we get root window coords. * src/theme.c (meta_frame_layout_get_borders): if fullscreen all frame edges are zero-width. * src/frame.c (meta_frame_get_flags): init fullscreen flag. * src/common.h (enum): add META_FRAME_FULLSCREEN frame flag * src/place.c: fix up calls to meta_window_get_work_area * src/window.c (meta_window_get_work_area): add an arg for whether the work area is for the screen or the xinerama subscreen. (constrain_position): fix up calls to meta_window_get_work_area (constrain_size): ditto * src/screen.c (meta_screen_new): add METACITY_DEBUG_XINERAMA environment variable which simulates xinerama on a single head.
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/window.h b/src/window.h
index 7cbafd1..f5580ae 100644
--- a/src/window.h
+++ b/src/window.h
@@ -372,6 +372,7 @@ gboolean meta_window_visible_on_workspace (MetaWindow *window,
/* Get minimum work area for all workspaces we're on */
void meta_window_get_work_area (MetaWindow *window,
+ gboolean for_current_xinerama,
MetaRectangle *area);
gboolean meta_window_same_application (MetaWindow *window,