fix calculations for left subtracked mask

pull/5/head
Michail Vourlakos 6 years ago
parent 002d683dd9
commit 83b5b2323a

@ -152,7 +152,7 @@ void PrimaryConfigView::init()
inline Qt::WindowFlags PrimaryConfigView::wFlags() const inline Qt::WindowFlags PrimaryConfigView::wFlags() const
{ {
return (flags() | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint) & ~Qt::WindowDoesNotAcceptFocus; return (flags() | Qt::FramelessWindowHint /*| Qt::WindowStaysOnTopHint*/) & ~Qt::WindowDoesNotAcceptFocus;
} }
QQuickView *PrimaryConfigView::secondaryWindow() QQuickView *PrimaryConfigView::secondaryWindow()
@ -247,7 +247,6 @@ void PrimaryConfigView::syncGeometry()
updateShowInlineProperties(); updateShowInlineProperties();
m_latteView->raise();
emit m_latteView->configWindowGeometryChanged(); emit m_latteView->configWindowGeometryChanged();
} }

@ -210,8 +210,6 @@ void SecondaryConfigView::syncGeometry()
if (m_parent) { if (m_parent) {
m_parent->requestActivate(); m_parent->requestActivate();
} }
m_latteView->raise();
} }
void SecondaryConfigView::syncSlideEffect() void SecondaryConfigView::syncSlideEffect()

@ -971,7 +971,10 @@ bool View::event(QEvent *e)
switch (e->type()) { switch (e->type()) {
case QEvent::Enter: case QEvent::Enter:
m_containsMouse = true; m_containsMouse = true;
raise();
if (m_configView) {
m_configView->requestActivate();
}
break; break;
case QEvent::Leave: case QEvent::Leave:

@ -430,11 +430,6 @@ bool WaylandInterface::isValidWindow(const KWayland::Client::PlasmaWindow *w) co
void WaylandInterface::windowCreatedProxy(KWayland::Client::PlasmaWindow *w) void WaylandInterface::windowCreatedProxy(KWayland::Client::PlasmaWindow *w)
{ {
//! all Latte related windows must be on KeepAbove state
if (w->appId()==QLatin1String("latte-dock") && !w->isKeepAbove()) {
w->requestToggleKeepAbove ();
}
if (!isValidWindow(w)) return; if (!isValidWindow(w)) return;
if (!mapper) mapper = new QSignalMapper(this); if (!mapper) mapper = new QSignalMapper(this);

Loading…
Cancel
Save