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>
pull/1/head
Mavridis Philippe 4 years ago
parent 3d5fe24755
commit 855cbf293c
No known key found for this signature in database
GPG Key ID: F8D2D7E2F989A494

@ -169,6 +169,8 @@ void KomposeFullscreenWidget::mousePressEvent ( TQMouseEvent * e )
switch ( e->button() ) switch ( e->button() )
{ {
case LeftButton: case LeftButton:
kdDebug() << "KomposeFullscreenWidget::mousePressEvent - Clicked outside of all tasks - Closing view" << endl;
KomposeViewManager::instance()->closeCurrentView();
break; break;
case MidButton: case MidButton:
// fall through // fall through

Loading…
Cancel
Save