1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-21 22:50:14 +03:00

fixes for wayland

This commit is contained in:
Michail Vourlakos 2018-02-27 00:23:08 +02:00
parent 2403fbabe1
commit d6740bb378
2 changed files with 8 additions and 1 deletions

View File

@ -1504,6 +1504,12 @@ void DockView::setBlockHiding(bool block)
void DockView::updateEffects()
{
//! CRASH: Dont update effects under wayland
//! because they arent supported yet
if (KWindowSystem::isPlatformWayland()) {
return;
}
if (!m_behaveAsPlasmaPanel) {
if (m_drawEffects && !m_effectsArea.isNull() && !m_effectsArea.isEmpty()) {
//! this is used when compositing is disabled and provides

View File

@ -76,7 +76,8 @@ Item{
Binding{
target: dock
property:"maxThickness"
when: dock
//! prevents updating window geometry during closing window in wayland and such fixes a crash
when: dock && !inTempHiding && !inForceHiding
value: thicknessZoomOriginal
}