Browse Source

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 1 year ago
parent
commit
855cbf293c
No known key found for this signature in database
GPG Key ID: F8D2D7E2F989A494
  1. 2
      src/komposefullscreenwidget.cpp

2
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

Loading…
Cancel
Save