From c0716491ac15f63b3546a439c0623497cd17646e Mon Sep 17 00:00:00 2001 From: l10n daemon script Date: Fri, 28 Aug 2015 12:34:25 +0000 Subject: [PATCH 1/4] SVN_SILENT made messages (.desktop file) --- effects/windowaperture/package/metadata.desktop | 2 ++ 1 file changed, 2 insertions(+) diff --git a/effects/windowaperture/package/metadata.desktop b/effects/windowaperture/package/metadata.desktop index 4d7c0c4d78..f69de99bfc 100644 --- a/effects/windowaperture/package/metadata.desktop +++ b/effects/windowaperture/package/metadata.desktop @@ -11,6 +11,7 @@ Name[gl]=Apertura das xanelas Name[it]=Apertura delle finestre Name[ko]=조리개 모양 배치 Name[lt]=Lango anga +Name[nb]=Vindusåpning Name[nl]=Vensteropening Name[pl]=Przesłona okna Name[pt]=Aperto das Janelas @@ -41,6 +42,7 @@ Comment[gl]=Mover a xanela ás esquinas mentres se mostra o escritorio. Comment[it]=Sposta la finestra negli angoli quando mostri il desktop Comment[ja]=デスクトップを表示している間に、ウインドウを角に移動させます Comment[ko]=데스크톱을 보일 때 창을 모서리로 이동 +Comment[nb]=Flytt vindu til hjørnene mens skrivebordet vises Comment[nl]=Schuif venster in de hoeken tijdens het tonen van het bureaublad Comment[pl]=Rozsuwa okna w narożniki, podczas pokazywania pulpitu Comment[pt]=Mover a janela para os cantos, enquanto mostra o ecrã From 5eb8fc28b2c577aa7960f41c68873036e90c1fc0 Mon Sep 17 00:00:00 2001 From: l10n daemon script Date: Mon, 31 Aug 2015 13:32:03 +0000 Subject: [PATCH 2/4] SVN_SILENT made messages (.desktop file) --- effects/login/package/metadata.desktop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effects/login/package/metadata.desktop b/effects/login/package/metadata.desktop index a4dc203cf2..7467e18ef7 100644 --- a/effects/login/package/metadata.desktop +++ b/effects/login/package/metadata.desktop @@ -99,7 +99,7 @@ Comment[en_GB]=Smoothly fade to the desktop when logging in Comment[es]=Desvanece el escritorio cuando se inicia la sesión Comment[et]=Töölaua sujuv ilmumine sisselogimisel Comment[eu]=Mahaigaina pixkanaka desagertzen da saioa hastean -Comment[fi]=Häivytä pehmeästi työpöytään sisäänkirjauduttaessa +Comment[fi]=Häivytä pehmeästi työpöydälle kirjauduttaessa sisään Comment[fr]=Effectue un dégradé progressif vers le bureau lors de la connexion Comment[fy]=Lit it opstartskerm ferdizenje nei it buroblêd ûnder it oanmelden Comment[ga]=Céimnigh go dtí an deasc go réidh ag am logála isteach From 1ade154034f1b647315a93cb09b0c780d9c26b06 Mon Sep 17 00:00:00 2001 From: Jonathan Riddell Date: Thu, 3 Sep 2015 10:56:12 +0100 Subject: [PATCH 3/4] Update version number for 5.4.1 GIT_SILENT --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 17064ec2ce..2b17086549 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ project(KWIN) -set(PROJECT_VERSION "5.4.0") +set(PROJECT_VERSION "5.4.1") set(PROJECT_VERSION_MAJOR 5) cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR) From 0b955611938716ae907a0972c23288c1e977ad25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 31 Aug 2015 10:28:03 +0200 Subject: [PATCH 4/4] Fake a leave event for the decoration when client is left We need to send a fake HoverMove event on minimized to remove all hovered states of the decoration. At the same time we need to ensure that no further hover events are sent to a minimized client. BUG: 351984 FIXED-IN: 5.4.1 REVIEW: 124997 --- events.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/events.cpp b/events.cpp index 3ce3f917c9..5baab1fb1a 100644 --- a/events.cpp +++ b/events.cpp @@ -1006,6 +1006,11 @@ void Client::leaveNotifyEvent(xcb_leave_notify_event_t *e) shadeHoverTimer->setSingleShot(true); shadeHoverTimer->start(options->shadeHoverInterval()); } + if (m_decoration) { + // sending a move instead of a leave. With leave we need to send proper coords, with move it's handled internally + QHoverEvent leaveEvent(QEvent::HoverMove, QPointF(-1, -1), QPointF(-1, -1), Qt::NoModifier); + QCoreApplication::sendEvent(m_decoration, &leaveEvent); + } } if (options->focusPolicy() == Options::FocusStrictlyUnderMouse && isActive() && lostMouse) { workspace()->requestDelayFocus(0); @@ -1343,7 +1348,7 @@ void Client::checkQuickTilingMaximizationZones(int xroot, int yroot) // return value matters only when filtering events before decoration gets them bool Client::motionNotifyEvent(xcb_window_t w, int state, int x, int y, int x_root, int y_root) { - if (w == frameId() && m_decoration) { + if (w == frameId() && m_decoration && !isMinimized()) { // TODO Mouse move event dependent on state QHoverEvent event(QEvent::HoverMove, QPointF(x, y), QPointF(x, y)); QCoreApplication::instance()->sendEvent(m_decoration, &event);