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:
parent
2403fbabe1
commit
d6740bb378
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user