diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-03-30 19:39:36 +0300 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2021-03-30 19:39:36 +0300 |
commit | 855cbf293ccadda529bf54a9c4376d1d4243176f (patch) | |
tree | 9a792144b6ac2cba35bd2a64953df363ab717c14 /src | |
parent | 3d5fe24755dae5b28a1aee77511312059abf7277 (diff) | |
download | kompose-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')
-rw-r--r-- | src/komposefullscreenwidget.cpp | 2 |
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 |