summaryrefslogtreecommitdiff
path: root/src/core.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2001-08-29 04:53:48 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-08-29 04:53:48 +0000
commit4abbd4b1e51b0bccb183d83a06b42584fbac05c7 (patch)
tree6fc51047a34db112aaadbdc131702dc19d91b2f2 /src/core.c
parent27c81cad339f3c0d7265a55d40d36f90c262cd0c (diff)
downloadmetacity-4abbd4b1e51b0bccb183d83a06b42584fbac05c7.tar.gz
add crackrock window-outlining feature
2001-08-29 Havoc Pennington <hp@pobox.com> * src/tabpopup.c: add crackrock window-outlining feature * src/session.c (window_type_to_string): handle fullscreen
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/core.c b/src/core.c
index d4d03459..622397cf 100644
--- a/src/core.c
+++ b/src/core.c
@@ -24,6 +24,24 @@
#include "workspace.h"
void
+meta_core_get_outer_rect (Display *xdisplay,
+ Window frame_xwindow,
+ GdkRectangle *rect)
+{
+ MetaDisplay *display;
+ MetaWindow *window;
+ MetaRectangle r;
+
+ display = meta_display_for_x_display (xdisplay);
+ window = meta_display_lookup_x_window (display, frame_xwindow);
+
+ if (window == NULL || window->frame == NULL)
+ meta_bug ("No such frame window 0x%lx!\n", frame_xwindow);
+
+
+}
+
+void
meta_core_get_frame_size (Display *xdisplay,
Window frame_xwindow,
int *width,