kwin/clients/aurorae
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
..
src Improve mouse click behavior of Aurorae Menu button 2012-02-16 11:34:37 +01:00
AUTHORS Initial import of Aurorae Kwin decoration theme engine. 2009-06-19 09:18:07 +00:00
CMakeLists.txt Do not install the example aurorae theme - it is too ugly for being shipped by default. 2010-01-01 12:53:10 +00:00
README Initial import of Aurorae Kwin decoration theme engine. 2009-06-19 09:18:07 +00:00
theme-description Better support for maximized windows in Aurorae. The theme can include explicit elements for the maximzed area. 2010-03-07 13:37:47 +00:00
TODO Initial import of Aurorae Kwin decoration theme engine. 2009-06-19 09:18:07 +00:00

Aurorae is a themeable window decoration for KWin.

It supports theme files consisting of several SVG files for decoration and buttons. Themes can be
installed and selected directly in the configuration module of KWin decorations.

Please have a look at theme-description on how to write a theme file.