From 855cbf293ccadda529bf54a9c4376d1d4243176f Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Tue, 30 Mar 2021 19:39:36 +0300 Subject: [PATCH] Clicking on background now exits fullscreen task view. This is what a lot of users would expect by clicking outside of all task widgets. Signed-off-by: Mavridis Philippe --- src/komposefullscreenwidget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/komposefullscreenwidget.cpp b/src/komposefullscreenwidget.cpp index ab1aa44..4e656c2 100644 --- a/src/komposefullscreenwidget.cpp +++ b/src/komposefullscreenwidget.cpp @@ -169,6 +169,8 @@ void KomposeFullscreenWidget::mousePressEvent ( TQMouseEvent * e ) switch ( e->button() ) { case LeftButton: + kdDebug() << "KomposeFullscreenWidget::mousePressEvent - Clicked outside of all tasks - Closing view" << endl; + KomposeViewManager::instance()->closeCurrentView(); break; case MidButton: // fall through