kwin/effects
Nate Graham 4dd4ca8f1c [effects/presentwindows] Allow closing windows on middle-click
Summary:
Plasma's Task manager exposes an optional  feature whereby the user
can middle-click on a window to close it, but the Present Windows effect
does not do the same.

The presence of a close button you can left-click does not replace the desirable
feature to be able to middle-click on a window to close it, because then the
whole window becomes a click target, so it can be much much faster than
having to aim for the little close button. Also it's off by default, so a user
who goes out of their way to turn it on is signaling that they want to accept the
risk of accidentally closing a window by accident.

Finally, the feature is not allowed for left-click, so people can never accidentally
wreck Present Windows for themselves by assigning it to left-click by accident
and then mistakenly closing their windows.

This reverts commit 55585514f9.

FEATURE: 321190
FIXED-IN: 5.17.0

Test Plan:
Set "Close window" in the Present windows effect, trigger effect, and middle-click on window

{F6815303}

Reviewers: #kwin, davidedmundson, broulik, zzag, #plasma, hein, mart

Reviewed By: #kwin, #plasma, mart

Subscribers: mart, abetts, apol, zzag, luebking, kossebau, graesslin, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D21083
2019-06-21 10:25:32 -06:00
..
backgroundcontrast [effects] Make sure that all effects reset the streaming buffer 2019-02-15 15:51:54 +02:00
blur [effects] Make sure that all effects reset the streaming buffer 2019-02-15 15:51:54 +02:00
colorpicker
coverswitch [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
cube [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
cubeslide [effects/cubeslide] Cancel active animation when number of desktops has changed 2019-05-07 15:13:09 +03:00
desktopgrid Merge branch 'Plasma/5.15' 2019-02-18 16:27:45 +02:00
dialogparent SVN_SILENT made messages (.desktop file) - always resolve ours 2019-01-16 09:09:19 +01:00
diminactive [effects/diminactive] Dim Wayland clients 2018-10-19 14:38:10 +03:00
dimscreen SVN_SILENT made messages (.desktop file) - always resolve ours 2019-04-12 09:04:10 +02:00
eyeonscreen SVN_SILENT made messages (.desktop file) - always resolve ours 2019-01-16 09:09:19 +01:00
fade [wayland] Make sure that only the fading popups effect animates outline 2019-04-09 14:21:22 +03:00
fadedesktop Update URLs to use https 2019-03-25 19:26:23 +01:00
fadingpopups SVN_SILENT made messages (.desktop file) - always resolve ours 2019-06-09 05:13:32 +02:00
fallapart Merge branch 'Plasma/5.15' 2019-04-15 11:20:19 +03:00
flipswitch [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
frozenapp SVN_SILENT made messages (.desktop file) - always resolve ours 2019-01-16 09:09:19 +01:00
glide [wayland] Make sure that only the fading popups effect animates outline 2019-04-09 14:21:22 +03:00
highlightwindow [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
invert [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
kscreen [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
login [effects/login] Reduce animation time 2019-06-19 18:24:55 +02:00
logout SVN_SILENT made messages (.desktop file) - always resolve ours 2019-05-08 05:51:51 +02:00
lookingglass [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
magiclamp [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
magnifier [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
maximize Update URLs to use https 2019-03-25 19:26:23 +01:00
morphingpopups Support CriticalNotification type and place it in a CriticalNotificationLayer 2019-05-02 10:29:38 +02:00
mouseclick [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
mousemark [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
presentwindows [effects/presentwindows] Allow closing windows on middle-click 2019-06-21 10:25:32 -06:00
resize [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
scale SVN_SILENT made messages (.desktop file) - always resolve ours 2019-06-09 05:13:32 +02:00
screenedge [effects/screenedge] Support "hint-stretch-borders" 2019-04-17 15:22:15 +02:00
screenshot Merge branch 'Plasma/5.12' into Plasma/5.16 2019-05-27 17:31:10 +03:00
sheet [effects/sheet] Decrease the default animation duration 2018-10-22 10:11:00 +03:00
showfps SVN_SILENT made messages (.desktop file) - always resolve ours 2018-11-01 05:58:11 +01:00
showpaint SVN_SILENT made messages (.desktop file) - always resolve ours 2019-04-12 09:04:10 +02:00
slide Overhaul doxygen comments 2019-02-12 19:29:33 +02:00
slideback [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
slidingpopups Add windowsystem plugin for KWin's qpa 2019-01-27 08:59:58 +01:00
snaphelper [effects/snaphelper] Do massive overhaul 2018-11-05 16:59:19 +02:00
squash SVN_SILENT made messages (.desktop file) - always resolve ours 2019-06-09 05:13:32 +02:00
startupfeedback Merge branch 'Plasma/5.15' 2019-02-05 13:28:56 +01:00
thumbnailaside [effects/thumbnailaside] Specify screen projection matrix 2019-05-15 12:35:00 +03:00
touchpoints
trackmouse [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
translucency SVN_SILENT made messages (.desktop file) - always resolve ours 2019-04-06 09:35:59 +02:00
windowaperture SVN_SILENT made messages (.desktop file) - always resolve ours 2019-01-16 09:09:19 +01:00
windowgeometry [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
wobblywindows [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
zoom [effects] Port to new connect syntax 2019-01-26 01:22:06 +02:00
CMakeLists.txt [effects/dimscreen] Port to JavaScript 2018-11-17 13:44:20 +02:00
effect_builtins.cpp [effects/screenshot] Remove outdated reference to KSnapshot 2019-06-10 08:48:19 -06:00
effect_builtins.h [effects/dimscreen] Port to JavaScript 2018-11-17 13:44:20 +02:00
kwineffect.desktop [effects] Fix type of X-KWin-Video-Url 2018-09-11 13:46:35 +03:00
logging.cpp
Messages.sh
shaders.qrc Merge branch 'Plasma/5.12' into Plasma/5.15 2019-02-05 13:28:45 +01:00