kwin/clients
Martin Gräßlin cb5360c53d Improve mouse click behavior of Aurorae Menu button
The general idea is: single click opens menu, double click closes
the window. The problem is that the when the menu is opened after
the single click, the menu will eat the second click. So double
click will not work.

This commit brings back the workaround from Aurorae2. The clicked
event is not used at all, but we start a timer on the press event
with the doubleClickInterval. If no double click appears during the
interval we open the menu, if there is a double click we close the
window.

The downside of this approach is that there is a slight delay between
clicking the menu button and the menu appearing. For that the right
click behavior is unchanged. That is right clicking opens the menu
instantly and double click to close it, is broken.
2012-02-16 11:34:37 +01:00
..
aurorae Improve mouse click behavior of Aurorae Menu button 2012-02-16 11:34:37 +01:00
b2 SVN_SILENT made messages (.desktop file) 2011-12-22 11:48:21 +01:00
laptop SVN_SILENT made messages (.desktop file) 2011-12-22 11:48:21 +01:00
oxygen fix tabbing 2012-02-11 16:30:22 +01:00
plastik SVN_SILENT made messages (.desktop file) 2011-09-09 09:21:44 +02:00
CMakeLists.txt fix tabbing 2012-02-11 16:30:22 +01:00
Messages.sh Remove temporary file 2008-07-02 07:04:51 +00:00