[Dialog] Allow setting outputOnly for NoBackground dialog

I don't see why this would be silently discarded.
The input shape has nothing to do with the window mask (e.g. rounded border depending on theme).

Differential Revision: https://phabricator.kde.org/D11102
This commit is contained in:
Kai Uwe Broulik 2018-03-15 13:07:11 +01:00
parent 77bac859bc
commit 049aa5677d

View File

@ -561,10 +561,6 @@ void DialogPrivate::updateInputShape()
}
#if HAVE_XCB_SHAPE
if (backgroundHints == Dialog::NoBackground) {
return;
}
if (KWindowSystem::isPlatformX11()) {
xcb_connection_t *c = QX11Info::connection();
static bool s_shapeExtensionChecked = false;