Index: beryl-plugins/src/resize.c =================================================================== --- beryl-plugins/src/resize.c (Revision 897) +++ beryl-plugins/src/resize.c (Arbeitskopie) @@ -510,10 +498,10 @@ button == button_sought && rd->opt[RESIZE_DISPLAY_OPTION_WARP_POINTER].value.b) { /* May warp if initiated with mouse combo */ - xRoot = w->attrib.x + - ((mask & ResizeLeftMask) ? 0 : rd->width); - yRoot = w->attrib.y + - ((mask & ResizeUpMask) ? 0 : rd->height); + xRoot = w->attrib.x - w->input.left + + ((mask & ResizeLeftMask) ? 0 : rd->width+w->input.left+w->input.right); + yRoot = w->attrib.y - w->input.top + + ((mask & ResizeUpMask) ? 0 : rd->height+w->input.top+w->input.bottom); warpPointer (d, xRoot - d->pointerX, yRoot - d->pointerY); } }