diff options
author | Thomas Thurman <tthurman@gnome.org> | 2009-10-23 13:19:22 -0400 |
---|---|---|
committer | Thomas Thurman <tthurman@gnome.org> | 2009-10-23 13:19:22 -0400 |
commit | 4d269419a49aaeacd285090f911b83e331035519 (patch) | |
tree | 82671c723351f6dd704efad8f74c0b1a26ffaa5e | |
parent | 40f1be65a06e8c61ac1fb566be9fb23c3682c552 (diff) | |
download | metacity-4d269419a49aaeacd285090f911b83e331035519.tar.gz |
public titlebar rect
-rw-r--r-- | src/ui/theme.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ui/theme.c b/src/ui/theme.c index 650b8438..9280828a 100644 --- a/src/ui/theme.c +++ b/src/ui/theme.c @@ -1006,6 +1006,16 @@ meta_theme_calc_geometry (MetaTheme *theme, fgeom->title_rect.height = fgeom->areas[CC_TITLE].height; + /* Are these correct? */ + fgeom->top_titlebar_edge = + fgeom->areas[CC_TITLEBAR].left_edge; + fgeom->right_titlebar_edge = + fgeom->areas[CC_TITLEBAR].right_edge; + fgeom->bottom_titlebar_edge = + fgeom->areas[CC_TITLEBAR].bottom_edge; + fgeom->left_titlebar_edge = + fgeom->areas[CC_TITLEBAR].left_edge; + #if 0 /* see if we can write meta_theme_calc_geometry in terms of * meta_theme_get_frame_borders |