depend noborder on motif_noborder after reshape

app_noborder shall be the determined noborder (shape, type)
but relevant noborder shall be determined by rules and respect the
motif hint

BUG: 330573
FIXED-IN: 4.11.6
REVIEW: 115402
This commit is contained in:
Thomas Lübking 2014-01-30 16:28:55 +01:00
parent 34ecf8970e
commit 62b277ad9f

View file

@ -718,7 +718,8 @@ void Client::updateShape()
} else if (app_noborder) { } else if (app_noborder) {
xcb_shape_mask(connection(), XCB_SHAPE_SO_SET, XCB_SHAPE_SK_BOUNDING, frameId(), 0, 0, XCB_PIXMAP_NONE); xcb_shape_mask(connection(), XCB_SHAPE_SO_SET, XCB_SHAPE_SK_BOUNDING, frameId(), 0, 0, XCB_PIXMAP_NONE);
detectNoBorder(); detectNoBorder();
app_noborder = noborder = rules()->checkNoBorder(noborder); app_noborder = noborder;
noborder = rules()->checkNoBorder(noborder || motif_noborder);
updateDecoration(true); updateDecoration(true);
} }