we set borderwidth to 0 so always give that to the client consistently

This commit is contained in:
Dana Jansens 2007-05-26 22:41:31 +00:00
parent a4f868a195
commit 306ea13177

View file

@ -2912,11 +2912,11 @@ void client_configure(ObClient *self, gint x, gint y, gint w, gint h,
{
XEvent event;
/* we have reset the client to 0 border width, so don't include
it in these coords */
POINT_SET(self->root_pos,
self->frame->area.x + self->frame->size.left -
self->border_width,
self->frame->area.y + self->frame->size.top -
self->border_width);
self->frame->area.x + self->frame->size.left,
self->frame->area.y + self->frame->size.top);
event.type = ConfigureNotify;
event.xconfigure.display = ob_display;
@ -2931,7 +2931,7 @@ void client_configure(ObClient *self, gint x, gint y, gint w, gint h,
event.xconfigure.y = self->root_pos.y;
event.xconfigure.width = w;
event.xconfigure.height = h;
event.xconfigure.border_width = self->border_width;
event.xconfigure.border_width = 0;
event.xconfigure.above = self->frame->plate;
event.xconfigure.override_redirect = FALSE;
XSendEvent(event.xconfigure.display, event.xconfigure.window,