diff options
author | Havoc Pennington <hp@pobox.com> | 2001-08-29 04:53:48 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2001-08-29 04:53:48 +0000 |
commit | 4abbd4b1e51b0bccb183d83a06b42584fbac05c7 (patch) | |
tree | 6fc51047a34db112aaadbdc131702dc19d91b2f2 /src/core.c | |
parent | 27c81cad339f3c0d7265a55d40d36f90c262cd0c (diff) | |
download | metacity-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.c | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -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, |