summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <sam.spilsbury@canonical.com>2011-01-30 15:49:21 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2011-01-30 15:49:21 +0800
commit0fe31e900731845f38d95099e2d37162d3618509 (patch)
tree2ed5f4f948e05031363653815b956520328cb6aa
parentb406f56e2e123391fe12a32bc5758ea27dde5f21 (diff)
downloadunity-window-decorator-0fe31e900731845f38d95099e2d37162d3618509.tar.gz
unity-window-decorator-0fe31e900731845f38d95099e2d37162d3618509.tar.bz2
Fix right side grab area offset
-rw-r--r--src/metacity.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/metacity.c b/src/metacity.c
index 0962f6d..a20458e 100644
--- a/src/metacity.c
+++ b/src/metacity.c
@@ -1322,6 +1322,7 @@ meta_get_event_window_position (decor_t *d,
switch (j) {
case 2: /* right */
*x = width - fgeom.right_width;
+ *y = fgeom.top_height + RESIZE_EXTENDS;
if (d->frame_window)
*x += _win_extents.left + 2;
*w = fgeom.right_width;