mutter/src
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
..
backends Make the native backend build-optional 2014-05-29 12:43:08 -04:00
compositor Pass button_rect when opening window menu from button 2014-06-02 23:49:48 +02:00
core Pass button_rect when opening window menu from button 2014-06-02 23:49:48 +02:00
meta Pass button_rect when opening window menu from button 2014-06-02 23:49:48 +02:00
ui Pass button_rect when opening window menu from button 2014-06-02 23:49:48 +02:00
wayland wayland: Scale smooth scroll events to pointer motion coordinate space 2014-05-31 14:22:10 +02:00
x11 window: Construct the frame before the initial move_resize 2014-05-28 11:47:14 -04:00
.cvsignore Install desktop files in both .../share/applications and 2008-09-12 04:05:17 +00:00
50-mutter-navigation.xml.in keybindings: Expose new keybindings in g-c-c 2014-04-16 21:41:26 +02:00
50-mutter-system.xml.in keybindings: Import keybinding files from Metacity 2012-11-12 19:27:35 +01:00
50-mutter-windows.xml.in keybindings: Rebrand "minimize" as "hide" 2013-01-11 16:22:29 +01:00
default_icon.png New 48x48 default icon as specified in bug #160660 2005-01-25 18:47:57 +00:00
libmutter.pc.in Revert "wayland: make parallel installable with regular mutter" 2014-04-09 15:14:11 -07:00
Makefile.am Make the native backend build-optional 2014-05-29 12:43:08 -04:00
mutter-enum-types.c.in Add bits missing from last commit 2009-07-04 17:14:48 +01:00
mutter-enum-types.h.in Use a META_ prefix for enum types, not MUTTER_ 2012-02-23 16:39:28 -05:00
mutter-schemas.convert Remove live-hidden-windows from mutter-schemas.convert 2012-04-26 02:37:34 -04:00
mutter-wayland.desktop.in launcher: Replace mutter-launch with logind integration 2014-05-19 15:09:23 -04:00
mutter.desktop.in Revert "wayland: make parallel installable with regular mutter" 2014-04-09 15:14:11 -07:00
org.freedesktop.login1.xml launcher: Replace mutter-launch with logind integration 2014-05-19 15:09:23 -04:00
org.gnome.Mutter.DisplayConfig.xml Rename the DBus interface files 2014-03-31 23:44:46 -04:00
org.gnome.mutter.gschema.xml.in prefs: Add center-new-windows setting 2014-04-25 15:26:24 +02:00
org.gnome.Mutter.IdleMonitor.xml Rename the DBus interface files 2014-03-31 23:44:46 -04:00
org.gnome.mutter.wayland.gschema.xml.in Revert "mutter-wayland: Add XKB VT switching keysyms." 2014-02-27 15:41:00 -05:00