we set borderwidth to 0 so always give that to the client consistently
This commit is contained in:
parent
a4f868a195
commit
306ea13177
1 changed files with 5 additions and 5 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue