summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorSam <smspillaz@gmail.com>2010-04-05 09:46:42 +0000
committerSam <smspillaz@gmail.com>2010-04-05 09:46:42 +0000
commite4d22a6b6736a45224b1d4f39a90109ca151b1ca (patch)
tree45f003654ac7edd6894f9ddf6a2af2ad46c6696c /gtk
parent72d1482258892a6c39ec142c7aaa8570554dd8a1 (diff)
downloadzcomp-e4d22a6b6736a45224b1d4f39a90109ca151b1ca.tar.gz
zcomp-e4d22a6b6736a45224b1d4f39a90109ca151b1ca.tar.bz2
Fix slightly offset window decorations with certain metacity themes
Diffstat (limited to 'gtk')
-rw-r--r--gtk/window-decorator/gtk-window-decorator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/window-decorator/gtk-window-decorator.c b/gtk/window-decorator/gtk-window-decorator.c
index d66a76f..3532f95 100644
--- a/gtk/window-decorator/gtk-window-decorator.c
+++ b/gtk/window-decorator/gtk-window-decorator.c
@@ -2311,7 +2311,7 @@ meta_draw_window_decoration (decor_t *d)
gtk_image_set_from_pixmap (GTK_IMAGE (d->decor_image), d->pixmap, NULL);
gtk_window_resize (GTK_WINDOW (d->decor_window), d->width, d->height);
- gdk_window_reparent (gdk_frame_window, d->frame_window, -(d->context->left_space - extents.left), -(extents.top + extents.bottom - 2));
+ gdk_window_reparent (gdk_frame_window, d->frame_window, -(d->context->left_space - extents.left), -d->context->bottom_space + extents.bottom + 2);
gdk_window_lower (gdk_frame_window);
}