always use all the borders for floating dialogs
This commit is contained in:
parent
1e5524525f
commit
fc98e6323b
@ -130,7 +130,8 @@ void DialogPrivate::syncBorders()
|
|||||||
int borders = Plasma::FrameSvg::AllBorders;
|
int borders = Plasma::FrameSvg::AllBorders;
|
||||||
|
|
||||||
//Tooltips always have all the borders
|
//Tooltips always have all the borders
|
||||||
if (!(q->flags() & Qt::ToolTip)) {
|
// floating windows have all borders
|
||||||
|
if (!(q->flags() & Qt::ToolTip) || location == Plasma::Types::Floating) {
|
||||||
if (q->x() <= avail.x() || location == Plasma::Types::LeftEdge) {
|
if (q->x() <= avail.x() || location == Plasma::Types::LeftEdge) {
|
||||||
borders = borders & ~Plasma::FrameSvg::LeftBorder;
|
borders = borders & ~Plasma::FrameSvg::LeftBorder;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user