Created attachment 131911 [details] Inner window action to close with Meta+MiddleClick To perceive more consistent behavior it would be nice to have option for closing windows by modifier + mouse click (or touch) on inner area of window. specifically that option best fits to this place: - open systemsettings - go into 'window management' - open 'window behavior' - select tab 'window actions' in th group 'inner window, titlebar and frame' there is a dropdowns for each mouse buttons (and wheel) which consist only of the entries - Move - Activate, raise and move - Toggle raise and lower - Resize - Raise - Lower - Minimize - Decrease opacity - Increase opacity - Do nothing Missing option would be Close, which is available in 'Titlebar Actions' for all three MButtons.
FWIW, if you put CommandAll2=Close under MouseBindings section in your kwinrc, you'll be able to close windows by pressing meta + mmb.
So I guess it just needs a GUI then.
(In reply to Nate Graham from comment #2) > So I guess it just needs a GUI then. yes
It might be easy to code, but that doesn't justify if we actually want it?
(In reply to David Edmundson from comment #4) > It might be easy to code, but that doesn't justify if we actually want it? Decision is yours obviously... ... but just for sake consistency I think it would be useful. Also, please notice that this kinda "middleClick to close" feature is quite common (inside and outside KDE): - mentioned before, Titlebar Actions, - Task Manager icons on main panel (option added quite recently), - Present Windows effect (aka expose), - generally most implementations of tabs Dolphin, Konsole (option), Kate hasn't [quirk] =[ Web browsers... ...in addition I confess that forced to use MS Windows machines I always run my Autohotkey script to get this feature (and of course most commonly known Meta+LMB to move window). Thank you guys for your great work and please consider implementing it.