Florian Müllner b64548ee1f Pass button_rect when opening window menu from button
When opening the window menu without an associated control - e.g.
by right-clicking the titlebar or by keyboard - using coordinates
for the menu position is appropriate. However when the menu is
associated with a window button, the expected behavior in the
shell can be implemented much easier with the full button geometry:
the menu will point to the center of the button's bottom edge
rather than align to the left/right side of the titlebar as it
does now, and the clickable area where a release event does not
dismiss the menu will match the actual clickable area in mutter.

So add an additional show_window_menu_for_rect() function and
use it when opening the menu from a button.

https://bugzilla.gnome.org/show_bug.cgi?id=731058
2014-06-02 23:49:48 +02:00
..
2014-05-02 09:34:48 -04:00
2014-05-02 09:34:48 -04:00
2014-05-02 09:34:48 -04:00
2014-05-02 09:34:48 -04:00
2014-05-02 09:34:48 -04:00
2014-05-20 15:59:15 -04:00
2014-05-20 15:59:15 -04:00
2014-05-28 21:55:03 +02:00
2014-05-02 09:34:48 -04:00
2014-03-20 15:46:32 -04:00
2014-05-28 10:50:23 -04:00
2014-05-02 09:34:48 -04:00
2014-05-29 12:43:08 -04:00
2014-05-29 13:58:08 -04:00
2014-05-02 09:34:48 -04:00
2014-05-28 21:55:03 +02:00
2014-05-02 09:34:48 -04:00
2014-05-02 09:34:48 -04:00
2014-05-02 09:34:48 -04:00
2014-05-02 09:34:48 -04:00
2014-05-02 09:34:48 -04:00
2014-05-02 09:34:48 -04:00
2014-05-02 09:34:48 -04:00