summaryrefslogtreecommitdiffstats
path: root/src/komposefullscreenwidget.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-03-30 19:39:36 +0300
committerMavridis Philippe <mavridisf@gmail.com>2021-03-30 19:39:36 +0300
commit855cbf293ccadda529bf54a9c4376d1d4243176f (patch)
tree9a792144b6ac2cba35bd2a64953df363ab717c14 /src/komposefullscreenwidget.cpp
parent3d5fe24755dae5b28a1aee77511312059abf7277 (diff)
downloadkompose-855cbf293ccadda529bf54a9c4376d1d4243176f.tar.gz
kompose-855cbf293ccadda529bf54a9c4376d1d4243176f.zip
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 <mavridisf@gmail.com>
Diffstat (limited to 'src/komposefullscreenwidget.cpp')
-rw-r--r--src/komposefullscreenwidget.cpp2
1 files changed, 2 insertions, 0 deletions
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